Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.452/2.452, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001062/0.001062, allocations: 181.4 kB / 0.4901 GB, free: 2.227 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.552/1.552, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0008875/0.0008873, allocations: 101.1 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 10.81 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 143 MB / 1.229 GB, free: 85.3 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.4787, allocations: 151.6 MB / 1.377 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.479, allocations: 71.95 kB / 1.377 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.4906, allocations: 4.368 MB / 1.382 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4906, allocations: 4 kB / 1.382 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.4906, allocations: 8 kB / 1.382 GB, free: 9.012 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009047/0.4916, allocations: 0.5354 MB / 1.382 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4916, allocations: 8.562 kB / 1.382 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.4918, allocations: 78.47 kB / 1.382 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.4919, allocations: 39.48 kB / 1.382 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.4921, allocations: 211.4 kB / 1.383 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.4921, allocations: 24.66 kB / 1.383 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.4922, allocations: 28 kB / 1.383 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.4928, allocations: 298 kB / 1.383 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4928, allocations: 0 / 1.383 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4929, allocations: 12 kB / 1.383 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4929, allocations: 12 kB / 1.383 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.4935, allocations: 262.5 kB / 1.383 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4949, allocations: 0.866 MB / 1.384 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.4955, allocations: 264.2 kB / 1.384 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.4955, allocations: 4.438 kB / 1.384 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4956, allocations: 34.56 kB / 1.384 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.4956, allocations: 0 / 1.384 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0008722/0.4965, allocations: 360.2 kB / 1.385 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.4965, allocations: 51.41 kB / 1.385 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4968, allocations: 212.1 kB / 1.385 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.4968, allocations: 33.7 kB / 1.385 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4969, allocations: 164.4 kB / 1.385 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.497, allocations: 82.89 kB / 1.385 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.497, allocations: 4 kB / 1.385 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4972, allocations: 327.1 kB / 1.386 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.4974, allocations: 95.94 kB / 1.386 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.4976, allocations: 87.95 kB / 1.386 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4978, allocations: 85.94 kB / 1.386 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4978, allocations: 0 / 1.386 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005336/0.4984, allocations: 257.1 kB / 1.386 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4984, allocations: 15.89 kB / 1.386 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4984, allocations: 4 kB / 1.386 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4984, allocations: 4 kB / 1.386 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4987, allocations: 39.97 kB / 1.386 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4987, allocations: 4 kB / 1.386 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.4989, allocations: 23.89 kB / 1.386 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.4989, allocations: 4 kB / 1.386 GB, free: 4.32 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001666/0.4991, allocations: 145.8 kB / 1.386 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.4991, allocations: 23.72 kB / 1.386 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.4998, allocations: 291.8 kB / 1.387 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4998, allocations: 0 / 1.387 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4998, allocations: 3.938 kB / 1.387 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4998, allocations: 4 kB / 1.387 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.5002, allocations: 365.3 kB / 1.387 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5002, allocations: 0 / 1.387 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.5005, allocations: 39.97 kB / 1.387 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.5005, allocations: 3.984 kB / 1.387 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5005, allocations: 12 kB / 1.387 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5005, allocations: 3.953 kB / 1.387 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5005, allocations: 3.938 kB / 1.387 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.5011, allocations: 359.6 kB / 1.387 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.5012, allocations: 100.8 kB / 1.387 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.5012, allocations: 4 kB / 1.387 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.5014, allocations: 15.98 kB / 1.387 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.5015, allocations: 39.84 kB / 1.387 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.5015, allocations: 4 kB / 1.387 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001642/0.5017, allocations: 172.5 kB / 1.388 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5017, allocations: 0 / 1.388 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003134/0.502, allocations: 51.84 kB / 1.388 GB, free: 2.609 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.cooMaxFlo.u,actAirSet.heaMaxFlo1.u,actAirSet.ifOcc.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001012/0.503, allocations: 0.9087 MB / 1.389 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005388/0.5036, allocations: 231.8 kB / 1.389 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5036, allocations: 0 / 1.389 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.5039, allocations: 127.8 kB / 1.389 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.5042, allocations: 24.62 kB / 1.389 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.5068, allocations: 1.472 MB / 1.39 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5072, allocations: 0.7792 MB / 1.391 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.5074, allocations: 25.94 kB / 1.391 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.5075, allocations: 95.39 kB / 1.391 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of SimCode: time 1.694e-06/0.5075, allocations: 3.938 kB / 1.391 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.5256, allocations: 4.378 MB / 1.396 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.5259, allocations: 233.2 kB / 1.396 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.346, allocations: 0 / 1.396 GB, free: 10.46 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat