Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",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.289/2.289, allocations: 390.5 MB / 398 MB, free: 10.97 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.001042/0.001041, allocations: 183.4 kB / 491.2 MB, free: 1.602 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.602/1.602, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009174/0.0009174, allocations: 109.8 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.893e-05, allocations: 4 kB / 1.073 GB, free: 181.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2779, allocations: 143 MB / 1.213 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9203/1.198, allocations: 152.3 MB / 1.361 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.199, allocations: 84.92 kB / 1.361 GB, free: 17.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0263/1.225, allocations: 11.64 MB / 1.373 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.225, allocations: 3.938 kB / 1.373 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.386e-05/1.225, allocations: 19.31 kB / 1.373 GB, free: 32.38 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.002117/1.227, allocations: 0.93 MB / 1.374 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.227, allocations: 11.53 kB / 1.374 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/1.228, allocations: 97 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.229, allocations: 0.5821 MB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/1.229, allocations: 27.12 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.229, allocations: 49.88 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009665/1.23, allocations: 0.4899 MB / 1.375 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/1.231, allocations: 0.6347 MB / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/1.231, allocations: 0 / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.767e-05/1.231, allocations: 0 / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/1.231, allocations: 19.22 kB / 1.375 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/1.234, allocations: 2.24 MB / 1.378 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/1.235, allocations: 493.4 kB / 1.378 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/1.236, allocations: 220.5 kB / 1.378 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/1.236, allocations: 10.48 kB / 1.378 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/1.236, allocations: 284.9 kB / 1.379 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 2.726e-06/1.236, allocations: 0 / 1.379 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0006803/1.237, allocations: 396.9 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/1.237, allocations: 238.5 kB / 1.379 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/1.237, allocations: 396.2 kB / 1.38 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/1.237, allocations: 32.28 kB / 1.38 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/1.237, allocations: 384.5 kB / 1.38 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/1.237, allocations: 165.1 kB / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/1.238, allocations: 0 / 1.38 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.238, allocations: 368.8 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/1.238, allocations: 137.7 kB / 1.381 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/1.238, allocations: 258.2 kB / 1.381 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/1.238, allocations: 153.5 kB / 1.381 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.238, allocations: 4 kB / 1.381 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005823/1.239, allocations: 443.6 kB / 1.381 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/1.239, allocations: 0.5282 MB / 1.382 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/1.239, allocations: 0 / 1.382 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.239, allocations: 3.812 kB / 1.382 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/1.24, allocations: 121.9 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.24, allocations: 3.906 kB / 1.382 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/1.24, allocations: 81.69 kB / 1.382 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/1.24, allocations: 15.09 kB / 1.382 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/1.24, allocations: 5.438 kB / 1.382 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004501/1.24, allocations: 337.4 kB / 1.383 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.241, allocations: 3.875 kB / 1.383 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/1.241, allocations: 3.812 kB / 1.383 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/1.241, allocations: 108 kB / 1.383 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.241, allocations: 7.828 kB / 1.383 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/1.241, allocations: 66.19 kB / 1.383 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.241, allocations: 18.83 kB / 1.383 GB, free: 28.42 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,damLim1.yEnaMinOut,damLim1.and3.u2,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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.0001505/1.241, allocations: 112.2 kB / 1.383 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005147/1.242, allocations: 390.8 kB / 1.383 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/1.242, allocations: 50.44 kB / 1.383 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007263/1.243, allocations: 459.2 kB / 1.384 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.243, allocations: 11.66 kB / 1.384 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.243, allocations: 4 kB / 1.384 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.243, allocations: 3.984 kB / 1.384 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/1.244, allocations: 1.395 MB / 1.385 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.244, allocations: 0 / 1.385 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/1.245, allocations: 127.2 kB / 1.385 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/1.245, allocations: 7.438 kB / 1.385 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/1.245, allocations: 7.672 kB / 1.385 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.245, allocations: 7.438 kB / 1.385 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.245, allocations: 3.688 kB / 1.385 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/1.246, allocations: 1.083 MB / 1.386 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.246, allocations: 154.1 kB / 1.386 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/1.246, allocations: 7.75 kB / 1.386 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/1.247, allocations: 54.48 kB / 1.386 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/1.247, allocations: 50.7 kB / 1.387 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/1.247, allocations: 18.72 kB / 1.387 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002789/1.247, allocations: 297.7 kB / 1.387 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.247, allocations: 3.938 kB / 1.387 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007143/1.248, allocations: 256.4 kB / 1.387 GB, free: 26.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,damLim.yEnaMinOut,damLim1.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.00157/1.249, allocations: 2.67 MB / 1.39 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007889/1.25, allocations: 0.578 MB / 1.39 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.25, allocations: 4.438 kB / 1.39 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.25, allocations: 211.5 kB / 1.39 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/1.251, allocations: 212.4 kB / 1.391 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/1.253, allocations: 1.057 MB / 1.392 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/1.254, allocations: 0.9504 MB / 1.393 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004429/1.254, allocations: 101.2 kB / 1.393 GB, free: 22.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/1.255, allocations: 286.6 kB / 1.393 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/1.255, allocations: 0 / 1.393 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/1.288, allocations: 12.13 MB / 1.405 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/1.288, allocations: 220.9 kB / 1.405 GB, free: 16.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.684, allocations: 0.6094 kB / 1.405 GB, free: 16.54 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat does not exist to compare? outputFormat=mat