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.182/2.182, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001081/0.001081, allocations: 180.8 kB / 492.3 MB, free: 0.6211 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.406/1.406, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008351/0.0008352, allocations: 89.27 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.184e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2512, allocations: 142.3 MB / 1.213 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9542/1.205, allocations: 151 MB / 1.36 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/1.206, allocations: 83.2 kB / 1.36 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02663/1.232, allocations: 11.25 MB / 1.371 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.232, allocations: 0 / 1.371 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.441e-05/1.232, allocations: 11.53 kB / 1.371 GB, free: 33.91 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.001472/1.234, allocations: 0.8142 MB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.234, allocations: 7.625 kB / 1.372 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/1.234, allocations: 105.6 kB / 1.372 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/1.234, allocations: 78.17 kB / 1.372 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/1.235, allocations: 429.1 kB / 1.373 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.235, allocations: 132.3 kB / 1.373 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/1.235, allocations: 56 kB / 1.373 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/1.236, allocations: 0.5328 MB / 1.373 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.236, allocations: 3.906 kB / 1.373 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/1.236, allocations: 20.97 kB / 1.373 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.236, allocations: 15.41 kB / 1.373 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/1.237, allocations: 373.2 kB / 1.374 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/1.239, allocations: 1.907 MB / 1.375 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/1.24, allocations: 368.8 kB / 1.376 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/1.24, allocations: 182.4 kB / 1.376 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/1.24, allocations: 7.391 kB / 1.376 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/1.24, allocations: 231.5 kB / 1.376 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/1.24, allocations: 0 / 1.376 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0005626/1.241, allocations: 364 kB / 1.377 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.241, allocations: 136.4 kB / 1.377 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/1.242, allocations: 490.9 kB / 1.377 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/1.242, allocations: 32.95 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/1.242, allocations: 285.5 kB / 1.377 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/1.242, allocations: 143 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/1.242, allocations: 6.375 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.242, allocations: 373.5 kB / 1.378 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.242, allocations: 123.3 kB / 1.378 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/1.243, allocations: 220.2 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/1.243, allocations: 146.1 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.243, allocations: 0 / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005583/1.243, allocations: 423.4 kB / 1.379 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.243, allocations: 365.8 kB / 1.379 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.244, allocations: 48 / 1.379 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.244, allocations: 11.86 kB / 1.379 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/1.244, allocations: 107.4 kB / 1.379 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.244, allocations: 0 / 1.379 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/1.244, allocations: 101 kB / 1.379 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/1.244, allocations: 17.23 kB / 1.379 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/1.244, allocations: 3.75 kB / 1.379 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004266/1.245, allocations: 324.2 kB / 1.38 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.245, allocations: 0 / 1.38 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/1.245, allocations: 11.78 kB / 1.38 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/1.245, allocations: 93.05 kB / 1.38 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.245, allocations: 3.281 kB / 1.38 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/1.245, allocations: 74.62 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/1.245, allocations: 18.75 kB / 1.38 GB, free: 30.51 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.0001182/1.246, allocations: 130.9 kB / 1.38 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/1.246, allocations: 62.3 kB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/1.246, allocations: 57.52 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.246, allocations: 3.812 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.246, allocations: 0 / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.246, allocations: 2.953 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/1.246, allocations: 0.6012 MB / 1.381 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.246, allocations: 0 / 1.381 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/1.247, allocations: 98.62 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.247, allocations: 3.953 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/1.247, allocations: 13.16 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.247, allocations: 3.875 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.247, allocations: 0 / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/1.247, allocations: 0.5721 MB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/1.247, allocations: 146.4 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/1.248, allocations: 14.61 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.248, allocations: 50.55 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/1.248, allocations: 29.55 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/1.248, allocations: 13.62 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003606/1.248, allocations: 379.7 kB / 1.382 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.42e-07/1.248, allocations: 0 / 1.382 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004591/1.249, allocations: 199.8 kB / 1.382 GB, free: 29.76 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.001028/1.25, allocations: 1.132 MB / 1.383 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007373/1.251, allocations: 0.5271 MB / 1.384 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.251, allocations: 0 / 1.384 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/1.251, allocations: 167.9 kB / 1.384 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/1.251, allocations: 130.2 kB / 1.384 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/1.253, allocations: 0.7923 MB / 1.385 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/1.253, allocations: 0.8828 MB / 1.386 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004108/1.254, allocations: 85.33 kB / 1.386 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.254, allocations: 204.6 kB / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.254, allocations: 0 / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/1.279, allocations: 11.79 MB / 1.398 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.279, allocations: 202.2 kB / 1.398 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.673, allocations: 1.25 kB / 1.398 GB, free: 22.45 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