Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001193/0.001192, allocations: 185 kB / 498.1 MB, free: 5.777 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.465/1.465, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.0008927/0.0008925, allocations: 98.52 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003811, allocations: 9.219 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 142.4 MB / 1.223 GB, free: 89.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.4694, allocations: 151.1 MB / 1.371 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.4697, allocations: 83.92 kB / 1.371 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02932/0.4991, allocations: 11.29 MB / 1.382 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4991, allocations: 4 kB / 1.382 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.627e-05/0.4992, allocations: 12 kB / 1.382 GB, free: 6.699 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00211/0.5013, allocations: 0.8884 MB / 1.383 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5014, allocations: 16.02 kB / 1.383 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.5016, allocations: 98.45 kB / 1.383 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.5018, allocations: 79.02 kB / 1.383 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.5025, allocations: 432.9 kB / 1.383 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.5027, allocations: 122.4 kB / 1.383 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5028, allocations: 60 kB / 1.383 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.504, allocations: 0.598 MB / 1.384 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5041, allocations: 0 / 1.384 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.5041, allocations: 20 kB / 1.384 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.5041, allocations: 16 kB / 1.384 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.5052, allocations: 496.9 kB / 1.384 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.5082, allocations: 1.912 MB / 1.386 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.5094, allocations: 0.4903 MB / 1.387 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.5094, allocations: 8.328 kB / 1.387 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006276/0.5101, allocations: 283.5 kB / 1.387 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.5101, allocations: 0 / 1.387 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.001443/0.5115, allocations: 0.6346 MB / 1.388 GB, free: 352 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.5116, allocations: 136.5 kB / 1.388 GB, free: 184 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.5123, allocations: 494.1 kB / 1.388 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.5123, allocations: 41.69 kB / 1.388 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.5126, allocations: 280.6 kB / 1.389 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.5127, allocations: 141.9 kB / 1.389 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.5127, allocations: 16 kB / 1.389 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5129, allocations: 366.8 kB / 1.389 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.5133, allocations: 189 kB / 1.389 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.5138, allocations: 278.1 kB / 1.39 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.5143, allocations: 211.1 kB / 1.39 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5143, allocations: 0 / 1.39 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001064/0.5154, allocations: 0.5304 MB / 1.39 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.5156, allocations: 368.8 kB / 1.391 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5156, allocations: 3.984 kB / 1.391 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5156, allocations: 4 kB / 1.391 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.516, allocations: 107.8 kB / 1.391 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.577e-05/0.5161, allocations: 7.953 kB / 1.391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.5165, allocations: 91.48 kB / 1.391 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.5165, allocations: 16 kB / 1.391 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.5165, allocations: 4 kB / 1.391 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006666/0.5172, allocations: 366.6 kB / 1.391 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5172, allocations: 64 / 1.391 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.5172, allocations: 8 kB / 1.391 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.5176, allocations: 91.83 kB / 1.391 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5176, allocations: 0 / 1.391 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.5179, allocations: 79.41 kB / 1.391 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.5179, allocations: 16 kB / 1.391 GB, free: 12.46 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.0003342/0.5183, allocations: 273 kB / 1.392 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.85e-05/0.5184, allocations: 67.2 kB / 1.392 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.5185, allocations: 53.78 kB / 1.392 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.5185, allocations: 8 kB / 1.392 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5185, allocations: 0 / 1.392 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.5185, allocations: 3.984 kB / 1.392 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.5193, allocations: 0.6062 MB / 1.392 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5193, allocations: 3.953 kB / 1.392 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.5197, allocations: 95.88 kB / 1.392 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5197, allocations: 4 kB / 1.392 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.5198, allocations: 8 kB / 1.392 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5198, allocations: 0 / 1.392 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5198, allocations: 0 / 1.392 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.5212, allocations: 0.7432 MB / 1.393 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.5214, allocations: 152.2 kB / 1.393 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.5215, allocations: 15.94 kB / 1.393 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.5218, allocations: 51.95 kB / 1.393 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.5218, allocations: 27.95 kB / 1.393 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.5219, allocations: 12 kB / 1.393 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004585/0.5223, allocations: 386.8 kB / 1.394 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.653e-06/0.5223, allocations: 0 / 1.394 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005363/0.5229, allocations: 187.5 kB / 1.394 GB, free: 9.68 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001855/0.5248, allocations: 1.304 MB / 1.395 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.5261, allocations: 0.6397 MB / 1.396 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5261, allocations: 4 kB / 1.396 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.5266, allocations: 219.8 kB / 1.396 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.5273, allocations: 130.8 kB / 1.396 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.5301, allocations: 2.022 MB / 1.398 GB, free: 5.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.5306, allocations: 0.8837 MB / 1.399 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.5309, allocations: 64.66 kB / 1.399 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.5313, allocations: 215.4 kB / 1.399 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of SimCode: time 5.21e-07/0.5313, allocations: 0 / 1.399 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5147/1.046, allocations: 10.91 MB / 1.41 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.046, allocations: 227.4 kB / 1.41 GB, free: 170 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.223, allocations: 2.812 kB / 1.41 GB, free: 170 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat