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.Economizers.Subsequences.Validation.Modulation_TSup.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.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",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.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001183/0.001183, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.459/1.459, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.001018/0.001018, allocations: 87.95 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.241e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9677/1.249, allocations: 149.1 MB / 1.352 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.25, allocations: 84.73 kB / 1.352 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01003/1.26, allocations: 3.725 MB / 1.355 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.26, allocations: 4 kB / 1.355 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.706e-05/1.26, allocations: 3.906 kB / 1.355 GB, free: 33.43 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0006707/1.26, allocations: 0.5248 MB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/1.261, allocations: 19.62 kB / 1.356 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/1.261, allocations: 39.59 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/1.261, allocations: 281.5 kB / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/1.261, allocations: 11.66 kB / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/1.261, allocations: 22.97 kB / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003191/1.261, allocations: 194.3 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/1.262, allocations: 224 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.262, allocations: 0 / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/1.262, allocations: 0.5625 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.262, allocations: 7.625 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/1.263, allocations: 0.8512 MB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/1.263, allocations: 121 kB / 1.358 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/1.263, allocations: 57.17 kB / 1.358 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/1.263, allocations: 10.81 kB / 1.358 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/1.263, allocations: 38.38 kB / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/1.263, allocations: 0 / 1.358 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002573/1.263, allocations: 143.7 kB / 1.358 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/1.264, allocations: 51.41 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/1.264, allocations: 190.9 kB / 1.358 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/1.264, allocations: 25.7 kB / 1.358 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/1.264, allocations: 196.2 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/1.264, allocations: 55.42 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/1.264, allocations: 3.812 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.264, allocations: 329.9 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/1.264, allocations: 45.53 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/1.264, allocations: 49.78 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/1.264, allocations: 57.53 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.264, allocations: 0 / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002172/1.264, allocations: 178.4 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.265, allocations: 7.766 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/1.265, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.265, allocations: 4 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/1.265, allocations: 40.56 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.265, allocations: 0 / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.265, allocations: 19.05 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.265, allocations: 10.47 kB / 1.359 GB, free: 31.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.818e-05/1.265, allocations: 107.9 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001887/1.265, allocations: 148.7 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/1.265, allocations: 19.45 kB / 1.359 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/1.266, allocations: 204.6 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.266, allocations: 3.875 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.266, allocations: 0 / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.266, allocations: 3.938 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/1.266, allocations: 0.572 MB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.266, allocations: 0 / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/1.266, allocations: 49.64 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.266, allocations: 0 / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.266, allocations: 5.016 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.266, allocations: 3.844 kB / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.266, allocations: 0 / 1.36 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/1.267, allocations: 342.8 kB / 1.361 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/1.267, allocations: 110.9 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/1.267, allocations: 4 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.267, allocations: 21.48 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/1.267, allocations: 17.38 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/1.267, allocations: 7.719 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001096/1.267, allocations: 151.8 kB / 1.361 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.267, allocations: 0 / 1.361 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002525/1.267, allocations: 57.78 kB / 1.361 GB, free: 30.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0006547/1.268, allocations: 1.158 MB / 1.362 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001995/1.268, allocations: 130.2 kB / 1.362 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.268, allocations: 0 / 1.362 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/1.268, allocations: 75.39 kB / 1.362 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/1.269, allocations: 42.78 kB / 1.362 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/1.269, allocations: 385.6 kB / 1.363 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.27, allocations: 0.7763 MB / 1.363 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.867e-05/1.27, allocations: 23.5 kB / 1.363 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/1.27, allocations: 89.75 kB / 1.363 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.27, allocations: 0 / 1.363 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/1.293, allocations: 3.903 MB / 1.367 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.294, allocations: 218 kB / 1.368 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/3.018, allocations: 2.625 kB / 1.368 GB, free: 27.98 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat