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.253/2.253, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009892/0.0009894, allocations: 176.8 kB / 487.4 MB, free: 5.023 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.598/1.598, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008506, allocations: 95.89 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/2.016e-05, allocations: 5.438 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8504/1.065, allocations: 150.4 MB / 1.353 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.066, allocations: 80.28 kB / 1.353 GB, free: 18.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02615/1.092, allocations: 11.17 MB / 1.364 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.293e-06/1.092, allocations: 4 kB / 1.364 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.247e-05/1.092, allocations: 11.53 kB / 1.364 GB, free: 33.21 MB / 0.8386 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.00113/1.093, allocations: 0.8116 MB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.093, allocations: 11.56 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/1.093, allocations: 69.84 kB / 1.365 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/1.094, allocations: 435.9 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/1.094, allocations: 105.5 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/1.094, allocations: 33.84 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005482/1.095, allocations: 346.5 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/1.095, allocations: 463.9 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.095, allocations: 14.27 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/1.095, allocations: 0 / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/1.095, allocations: 11.38 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/1.097, allocations: 1.758 MB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/1.098, allocations: 344.8 kB / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/1.098, allocations: 181 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/1.098, allocations: 11.61 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/1.099, allocations: 210 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 1.973e-06/1.099, allocations: 0 / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0005167/1.099, allocations: 334.4 kB / 1.369 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.099, allocations: 136.4 kB / 1.369 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/1.1, allocations: 328.7 kB / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.1, allocations: 25.7 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/1.1, allocations: 290.7 kB / 1.37 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/1.1, allocations: 137.2 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/1.1, allocations: 3.812 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.1, allocations: 356.8 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.1, allocations: 121.5 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/1.1, allocations: 212.5 kB / 1.37 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/1.101, allocations: 141.1 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.101, allocations: 0 / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004806/1.101, allocations: 379.5 kB / 1.371 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.101, allocations: 361.9 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.101, allocations: 3.875 kB / 1.371 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.101, allocations: 3.938 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/1.102, allocations: 102.8 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.102, allocations: 6.875 kB / 1.371 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/1.102, allocations: 74.09 kB / 1.371 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/1.102, allocations: 23.08 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/1.102, allocations: 5.719 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003749/1.102, allocations: 284.7 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.102, allocations: 7.703 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-06/1.102, allocations: 0 / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/1.103, allocations: 84.23 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.103, allocations: 3.906 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/1.103, allocations: 55.31 kB / 1.372 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/1.103, allocations: 11.31 kB / 1.372 GB, free: 29.94 MB / 0.8386 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 () * 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.000109/1.103, allocations: 124.6 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004034/1.104, allocations: 323.4 kB / 1.372 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/1.104, allocations: 46.23 kB / 1.372 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/1.104, allocations: 46.66 kB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.104, allocations: 7.844 kB / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.104, allocations: 0 / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.104, allocations: 0 / 1.372 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/1.104, allocations: 0.502 MB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.104, allocations: 2.719 kB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/1.105, allocations: 85.88 kB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.105, allocations: 7.938 kB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/1.105, allocations: 14.02 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.105, allocations: 3.875 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.105, allocations: 0 / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/1.105, allocations: 0.5283 MB / 1.374 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/1.105, allocations: 122 kB / 1.374 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/1.106, allocations: 0 / 1.374 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/1.106, allocations: 54.16 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.106, allocations: 30.53 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/1.106, allocations: 14.28 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002518/1.106, allocations: 255.2 kB / 1.374 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.106, allocations: 4 kB / 1.374 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004984/1.107, allocations: 193.4 kB / 1.374 GB, free: 29.16 MB / 0.8386 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 () * 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.0009605/1.108, allocations: 1.082 MB / 1.375 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007116/1.108, allocations: 495.1 kB / 1.376 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.108, allocations: 4 kB / 1.376 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/1.109, allocations: 157.1 kB / 1.376 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/1.109, allocations: 113 kB / 1.376 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/1.11, allocations: 0.7342 MB / 1.377 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.111, allocations: 0.8777 MB / 1.378 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003487/1.111, allocations: 71.67 kB / 1.378 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.111, allocations: 201.5 kB / 1.378 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.111, allocations: 0 / 1.378 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/1.139, allocations: 9.582 MB / 1.387 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/1.139, allocations: 192.3 kB / 1.387 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.391, allocations: 0 / 1.387 GB, free: 24.05 MB / 0.8386 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