Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_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.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001119/0.001119, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.483/1.483, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009347/0.0009343, allocations: 102.5 kB / 0.9346 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005327, allocations: 10.44 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3059, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.5011, allocations: 151.6 MB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5015, allocations: 79.94 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.5169, allocations: 5.846 MB / 1.377 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5169, allocations: 0 / 1.377 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.193e-05/0.517, allocations: 12 kB / 1.377 GB, free: 4.48 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001381/0.5184, allocations: 0.6626 MB / 1.378 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.5184, allocations: 11.97 kB / 1.378 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.5186, allocations: 86.52 kB / 1.378 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5188, allocations: 47.44 kB / 1.378 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.5195, allocations: 371 kB / 1.378 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.5195, allocations: 33 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.5196, allocations: 40.66 kB / 1.378 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.5205, allocations: 434.2 kB / 1.379 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5206, allocations: 0 / 1.379 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.5206, allocations: 20 kB / 1.379 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.5206, allocations: 15.98 kB / 1.379 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.5215, allocations: 347.8 kB / 1.379 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.5239, allocations: 1.3 MB / 1.38 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.5246, allocations: 295.9 kB / 1.38 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.5247, allocations: 15.98 kB / 1.38 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.5252, allocations: 206.6 kB / 1.381 GB, free: 452 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.5252, allocations: 0 / 1.381 GB, free: 452 kB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.0009416/0.5261, allocations: 382.3 kB / 1.381 GB, free: 64 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.5263, allocations: 170.1 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.5268, allocations: 364.8 kB / 1.382 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.5268, allocations: 33.7 kB / 1.382 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.527, allocations: 216.4 kB / 1.382 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.5271, allocations: 82.75 kB / 1.382 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.5271, allocations: 4 kB / 1.382 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5273, allocations: 346.8 kB / 1.382 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.5276, allocations: 115.9 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.5279, allocations: 166.8 kB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.5282, allocations: 129 kB / 1.383 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5282, allocations: 3.938 kB / 1.383 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007201/0.5289, allocations: 341.1 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.5291, allocations: 267 kB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5291, allocations: 0 / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5292, allocations: 7.984 kB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.5295, allocations: 67.91 kB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.5295, allocations: 4 kB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.5297, allocations: 59.56 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.5298, allocations: 12 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5298, allocations: 4 kB / 1.383 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004923/0.5303, allocations: 243.8 kB / 1.384 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5303, allocations: 4.062 kB / 1.384 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.5303, allocations: 4 kB / 1.384 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.5306, allocations: 59.97 kB / 1.384 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5306, allocations: 3.938 kB / 1.384 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.5308, allocations: 59.53 kB / 1.384 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.5309, allocations: 12 kB / 1.384 GB, free: 13.22 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002589/0.5311, allocations: 239.1 kB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.5312, allocations: 39.48 kB / 1.384 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.5319, allocations: 331.7 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5319, allocations: 4 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5319, allocations: 0 / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5319, allocations: 0 / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.5334, allocations: 0.8693 MB / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5334, allocations: 0 / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.5337, allocations: 64 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.5337, allocations: 4 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.5337, allocations: 8 kB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5337, allocations: 0 / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5337, allocations: 0 / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.5347, allocations: 0.5845 MB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5349, allocations: 120.6 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.5349, allocations: 8 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5352, allocations: 36.03 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.5352, allocations: 23.92 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5353, allocations: 8 kB / 1.386 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003573/0.5356, allocations: 291.2 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5356, allocations: 0 / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004965/0.5361, allocations: 127.6 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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/0.5377, allocations: 1.363 MB / 1.388 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008833/0.5386, allocations: 396.7 kB / 1.388 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5386, allocations: 4.25 kB / 1.388 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.5389, allocations: 137.4 kB / 1.388 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.5394, allocations: 78.56 kB / 1.388 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.5437, allocations: 2.507 MB / 1.391 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.5441, allocations: 0.8079 MB / 1.391 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.5444, allocations: 51.25 kB / 1.392 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.5446, allocations: 135.4 kB / 1.392 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/0.5446, allocations: 0 / 1.392 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.569, allocations: 7.399 MB / 1.399 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.5693, allocations: 248.2 kB / 1.399 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.826, allocations: 4 kB / 1.399 GB, free: 13.34 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_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_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat does not exist to compare? outputFormat=mat