Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.29/2.29, allocations: 390.5 MB / 398 MB, free: 10.93 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.001546/0.001546, allocations: 176.9 kB / 491.2 MB, free: 1.59 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.636/1.636, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.00124/0.00124, allocations: 99.53 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.012e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2542, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.575, allocations: 151.7 MB / 1.361 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.576, allocations: 89.7 kB / 1.361 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02763/1.603, allocations: 11.25 MB / 1.372 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.603, allocations: 7.938 kB / 1.372 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.962e-05/1.603, allocations: 18.94 kB / 1.372 GB, free: 32.31 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.001861/1.605, allocations: 0.8074 MB / 1.372 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.605, allocations: 7.656 kB / 1.373 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/1.606, allocations: 84.73 kB / 1.373 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/1.606, allocations: 421.2 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/1.607, allocations: 110.9 kB / 1.373 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.607, allocations: 38.84 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007973/1.608, allocations: 342.4 kB / 1.373 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/1.608, allocations: 475.4 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/1.608, allocations: 0 / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/1.608, allocations: 7.781 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.608, allocations: 11.62 kB / 1.374 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/1.611, allocations: 1.75 MB / 1.376 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/1.612, allocations: 347 kB / 1.376 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/1.612, allocations: 179.5 kB / 1.376 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/1.612, allocations: 13.25 kB / 1.376 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/1.613, allocations: 210.4 kB / 1.376 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/1.613, allocations: 0 / 1.376 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006129/1.613, allocations: 335.5 kB / 1.377 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/1.613, allocations: 136.4 kB / 1.377 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/1.614, allocations: 329.6 kB / 1.377 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/1.614, allocations: 33.58 kB / 1.377 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/1.614, allocations: 291.2 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/1.614, allocations: 134.2 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.614, allocations: 4 kB / 1.378 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.614, allocations: 351.6 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/1.615, allocations: 123.8 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/1.615, allocations: 204.4 kB / 1.378 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/1.615, allocations: 145 kB / 1.378 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.615, allocations: 0 / 1.378 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005467/1.616, allocations: 382.7 kB / 1.379 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.616, allocations: 359.5 kB / 1.379 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.616, allocations: 6.359 kB / 1.379 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.616, allocations: 0 / 1.379 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/1.616, allocations: 108.4 kB / 1.379 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.616, allocations: 7.781 kB / 1.379 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/1.617, allocations: 74.64 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.617, allocations: 22.12 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/1.617, allocations: 7.828 kB / 1.379 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004116/1.617, allocations: 277.1 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.617, allocations: 7.75 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/1.617, allocations: 0 / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/1.618, allocations: 85.22 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.618, allocations: 3.812 kB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/1.618, allocations: 56.2 kB / 1.38 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/1.618, allocations: 11.16 kB / 1.38 GB, free: 29.03 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.0001492/1.618, allocations: 116.6 kB / 1.38 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005288/1.619, allocations: 326.5 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/1.619, allocations: 42.72 kB / 1.38 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/1.619, allocations: 48.33 kB / 1.38 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.619, allocations: 3.938 kB / 1.38 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.619, allocations: 0 / 1.38 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.619, allocations: 6.031 kB / 1.38 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/1.62, allocations: 0.5024 MB / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.62, allocations: 0 / 1.381 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/1.62, allocations: 92.52 kB / 1.381 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.62, allocations: 7.953 kB / 1.381 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.62, allocations: 10.94 kB / 1.381 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.62, allocations: 0 / 1.381 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.62, allocations: 3.938 kB / 1.381 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/1.621, allocations: 0.5255 MB / 1.381 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/1.621, allocations: 126.5 kB / 1.381 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/1.621, allocations: 7.828 kB / 1.381 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/1.621, allocations: 46.64 kB / 1.381 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/1.622, allocations: 26.31 kB / 1.382 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/1.622, allocations: 21.95 kB / 1.382 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002873/1.622, allocations: 251.7 kB / 1.382 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.622, allocations: 7.938 kB / 1.382 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006164/1.622, allocations: 189 kB / 1.382 GB, free: 28.25 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.00124/1.624, allocations: 1.085 MB / 1.383 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007948/1.625, allocations: 495.8 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.625, allocations: 0 / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/1.625, allocations: 159.8 kB / 1.384 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/1.625, allocations: 105.9 kB / 1.384 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/1.627, allocations: 0.7366 MB / 1.384 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/1.628, allocations: 0.8816 MB / 1.385 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003927/1.628, allocations: 80.36 kB / 1.385 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/1.628, allocations: 201.2 kB / 1.386 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/1.628, allocations: 0 / 1.386 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/1.665, allocations: 9.584 MB / 1.395 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/1.665, allocations: 210.1 kB / 1.395 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/4.032, allocations: 2.75 kB / 1.395 GB, free: 22.01 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_latest_Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat does not exist to compare? outputFormat=mat