Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.205/2.205, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001229/0.001229, allocations: 183.8 kB / 0.4901 GB, free: 2.082 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.518/1.518, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001008/0.001008, allocations: 100.9 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 10.38 kB / 1.09 GB, free: 215.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3135, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.5222, allocations: 150.9 MB / 1.377 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.5226, allocations: 71.95 kB / 1.377 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008604/0.5312, allocations: 2.465 MB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.288e-06/0.5313, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.5313, allocations: 4 kB / 1.379 GB, free: 15.91 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008784/0.5322, allocations: 439 kB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.693e-05/0.5323, allocations: 12.56 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.687e-05/0.5324, allocations: 50.53 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.5325, allocations: 23.67 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.5327, allocations: 188.2 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.5328, allocations: 8.281 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.5328, allocations: 12 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.5333, allocations: 159.9 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5333, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.5333, allocations: 4 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.5333, allocations: 4 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.5338, allocations: 148.7 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.5348, allocations: 0.5002 MB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.5352, allocations: 126.6 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5353, allocations: 7.984 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.5353, allocations: 34.56 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.5353, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0007243/0.5361, allocations: 213.6 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5361, allocations: 55.41 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.5363, allocations: 146.6 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5363, allocations: 33.7 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.5364, allocations: 108.3 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.5365, allocations: 35.53 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.5365, allocations: 8 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5366, allocations: 322.8 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.5368, allocations: 51.97 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.537, allocations: 55.95 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.5371, allocations: 44.58 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5371, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003697/0.5375, allocations: 157.5 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5375, allocations: 4 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5375, allocations: 0 / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5376, allocations: 4 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.5377, allocations: 27.91 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5378, allocations: 7.953 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.5379, allocations: 23.89 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5379, allocations: 3.938 kB / 1.382 GB, free: 12.71 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001158/0.538, allocations: 121.8 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.5381, allocations: 7.906 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.5381, allocations: 20.7 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5381, allocations: 0 / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5381, allocations: 8 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5381, allocations: 3.953 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.5384, allocations: 233.6 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5384, allocations: 3.938 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5386, allocations: 31.91 kB / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5386, allocations: 0 / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5386, allocations: 0 / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5386, allocations: 0 / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5386, allocations: 0 / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.539, allocations: 259.2 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.5391, allocations: 96.94 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.5391, allocations: 4 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5393, allocations: 15.98 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.5394, allocations: 11.98 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5394, allocations: 11.98 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.414e-05/0.5395, allocations: 121.8 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5395, allocations: 0 / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002374/0.5397, allocations: 27.91 kB / 1.383 GB, free: 11.66 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007711/0.5405, allocations: 0.8028 MB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.5409, allocations: 127.9 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5409, allocations: 0 / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.5411, allocations: 67.95 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5413, allocations: 12 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5428, allocations: 0.8749 MB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5432, allocations: 0.7158 MB / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.5433, allocations: 16.42 kB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.5433, allocations: 39.42 kB / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5434, allocations: 0 / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.5583, allocations: 2.662 MB / 1.388 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.5586, allocations: 244.5 kB / 1.388 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.148, allocations: 4 kB / 1.388 GB, free: 6.219 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat