Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 289.7 MB / 302.3 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 181.9 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009429/0.000943, allocations: 94.5 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.229e-05/5.233e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9433/1.265, allocations: 139.6 MB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/1.265, allocations: 72.31 kB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0114/1.277, allocations: 4.324 MB / 1.121 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.124e-06/1.277, allocations: 0 / 1.121 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.214e-05/1.277, allocations: 8 kB / 1.121 GB, free: 41.76 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006887/1.277, allocations: 0.5045 MB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.278, allocations: 12.03 kB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/1.278, allocations: 42.62 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/1.278, allocations: 30.12 kB / 1.121 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/1.278, allocations: 205.7 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/1.278, allocations: 15.02 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/1.278, allocations: 15.69 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/1.278, allocations: 128 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.278, allocations: 0 / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.278, allocations: 4.375 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/1.278, allocations: 11.95 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/1.278, allocations: 55.08 kB / 1.122 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/1.279, allocations: 0.6801 MB / 1.122 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/1.279, allocations: 138.5 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/1.279, allocations: 54.3 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.28, allocations: 4.656 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/1.28, allocations: 142 kB / 1.123 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/1.28, allocations: 0 / 1.123 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003517/1.28, allocations: 150.3 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/1.28, allocations: 114.6 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/1.28, allocations: 166.7 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/1.28, allocations: 33.58 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/1.281, allocations: 126.5 kB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/1.281, allocations: 38.78 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/1.281, allocations: 7.688 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.281, allocations: 329.3 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.281, allocations: 97.42 kB / 1.124 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/1.281, allocations: 165.7 kB / 1.124 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/1.281, allocations: 142.2 kB / 1.124 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.281, allocations: 4 kB / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005186/1.282, allocations: 342.8 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7e-05/1.282, allocations: 70.39 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.282, allocations: 4 kB / 1.124 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.282, allocations: 3.938 kB / 1.124 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/1.282, allocations: 28.42 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/1.282, allocations: 4.547 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/1.283, allocations: 103.8 kB / 1.124 GB, free: 38.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/1.283, allocations: 15.52 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.283, allocations: 134.4 kB / 1.125 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/1.283, allocations: 20.52 kB / 1.125 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/1.283, allocations: 72.56 kB / 1.125 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.283, allocations: 7.938 kB / 1.125 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.283, allocations: 0 / 1.125 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.283, allocations: 0 / 1.125 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/1.283, allocations: 255.9 kB / 1.125 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.283, allocations: 0 / 1.125 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/1.284, allocations: 24.88 kB / 1.125 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.284, allocations: 0 / 1.125 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/1.284, allocations: 4.5 kB / 1.125 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.284, allocations: 4 kB / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.284, allocations: 0 / 1.125 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/1.284, allocations: 203.4 kB / 1.125 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/1.284, allocations: 92.92 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/1.284, allocations: 9.062 kB / 1.125 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.284, allocations: 23.52 kB / 1.125 GB, free: 37.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/1.284, allocations: 37.38 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/1.284, allocations: 11.81 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001149/1.284, allocations: 142.9 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.284, allocations: 0 / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002775/1.285, allocations: 55.83 kB / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006167/1.285, allocations: 0.8907 MB / 1.126 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004374/1.286, allocations: 318.1 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.286, allocations: 4.75 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/1.286, allocations: 59.25 kB / 1.127 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/1.286, allocations: 38.64 kB / 1.127 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/1.287, allocations: 261.8 kB / 1.127 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.287, allocations: 0.725 MB / 1.128 GB, free: 35.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.211e-05/1.287, allocations: 20.27 kB / 1.128 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/1.287, allocations: 57.89 kB / 1.128 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.287, allocations: 0 / 1.128 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/1.306, allocations: 4.786 MB / 1.132 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.306, allocations: 158.2 kB / 1.133 GB, free: 32.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.089, allocations: 7.938 kB / 1.133 GB, free: 32.27 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)