Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.325/2.325, allocations: 393.5 MB / 408.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 186.1 kB / 0.4901 GB, free: 2.207 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 98.94 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.5383, allocations: 151 MB / 1.377 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5386, allocations: 87.92 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004599/0.5432, allocations: 1.852 MB / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5432, allocations: 0 / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.5432, allocations: 4 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005833/0.5438, allocations: 436 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5439, allocations: 12.5 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.5439, allocations: 42.56 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.544, allocations: 15.81 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.5442, allocations: 211.6 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.5443, allocations: 8.234 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.5443, allocations: 12 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.5446, allocations: 135.5 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5446, allocations: 0 / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.5446, allocations: 8 kB / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5446, allocations: 0 / 1.38 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.5449, allocations: 120.6 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.546, allocations: 0.5127 MB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.5462, allocations: 82.62 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5463, allocations: 11.92 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5463, allocations: 36.59 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.5463, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004406/0.5468, allocations: 157.6 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.5468, allocations: 55.36 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.547, allocations: 186.5 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.547, allocations: 29.7 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.5471, allocations: 111.9 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.5471, allocations: 19.75 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.5471, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5473, allocations: 330.8 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.5474, allocations: 47.91 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.5475, allocations: 57.69 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.5477, allocations: 36.02 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5477, allocations: 0 / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002839/0.548, allocations: 133.4 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.548, allocations: 13.7 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.548, allocations: 4 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.548, allocations: 0 / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5482, allocations: 15.98 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.5482, allocations: 4 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.5483, allocations: 27.84 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5483, allocations: 7.938 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001088/0.5484, allocations: 125.8 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.5485, allocations: 11.91 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.5488, allocations: 127 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5488, allocations: 4 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5488, allocations: 4 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5488, allocations: 0 / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.5494, allocations: 443.4 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5494, allocations: 0 / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.5495, allocations: 20.03 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5495, allocations: 7.922 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5496, allocations: 8 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5496, allocations: 4 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5496, allocations: 3.953 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.5499, allocations: 233.9 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.5499, allocations: 100.8 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.55, allocations: 4 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.5501, allocations: 27.94 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.5502, allocations: 11.97 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.5502, allocations: 4 kB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001042/0.5503, allocations: 136.1 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5503, allocations: 0 / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000222/0.5505, allocations: 20 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006469/0.5512, allocations: 0.8551 MB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.5515, allocations: 99.89 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5515, allocations: 0 / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5516, allocations: 47.95 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5519, allocations: 28.23 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.5534, allocations: 0.8585 MB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5537, allocations: 0.7084 MB / 1.385 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.161e-05/0.5538, allocations: 20.62 kB / 1.385 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.5538, allocations: 39.42 kB / 1.385 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/0.5538, allocations: 4 kB / 1.385 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.5685, allocations: 2.934 MB / 1.388 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.5687, allocations: 259.4 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.231, allocations: 4.062 kB / 1.388 GB, free: 6.262 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat