Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001333/0.001333, allocations: 188.4 kB / 487.4 MB, free: 5.023 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.541/1.541, allocations: 221.5 MB / 0.7824 GB, free: 1 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.0008913/0.0008913, allocations: 99.33 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.429e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2539, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8493/1.103, allocations: 149.4 MB / 1.352 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.104, allocations: 71.91 kB / 1.352 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007049/1.111, allocations: 2.447 MB / 1.354 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.111, allocations: 0 / 1.354 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.111, allocations: 4 kB / 1.354 GB, free: 33.6 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00052/1.111, allocations: 425.4 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.111, allocations: 11.59 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/1.111, allocations: 16.33 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.111, allocations: 188.3 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/1.111, allocations: 4.484 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/1.111, allocations: 11.53 kB / 1.355 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001929/1.112, allocations: 89.92 kB / 1.355 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/1.112, allocations: 108.7 kB / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.112, allocations: 0 / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/1.112, allocations: 0 / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.112, allocations: 3.844 kB / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/1.113, allocations: 473.4 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/1.113, allocations: 89.03 kB / 1.356 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/1.113, allocations: 31.36 kB / 1.356 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/1.113, allocations: 7.875 kB / 1.356 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.113, allocations: 38.58 kB / 1.356 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/1.113, allocations: 0 / 1.356 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002437/1.113, allocations: 90.53 kB / 1.356 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.113, allocations: 58.97 kB / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/1.113, allocations: 133.9 kB / 1.356 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/1.113, allocations: 25.7 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/1.113, allocations: 126.8 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/1.113, allocations: 21.5 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/1.113, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.114, allocations: 318.1 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/1.114, allocations: 25.94 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/1.114, allocations: 26.53 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.615e-05/1.114, allocations: 25.19 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.114, allocations: 0 / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001407/1.114, allocations: 103.1 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.114, allocations: 4.547 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.114, allocations: 8 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.114, allocations: 3.844 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.114, allocations: 21.62 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.114, allocations: 0.7031 kB / 1.357 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/1.114, allocations: 18.95 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.114, allocations: 4.688 kB / 1.357 GB, free: 31.88 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: 5 (actAirSet.uOpeMod,actAirSet.actCooMax.u,actAirSet.booToRea.u,actAirSet.intEqu2.y,actAirSet.intEqu1.y) * Number of discrete 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 7.874e-05/1.114, allocations: 108.8 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001515/1.115, allocations: 103 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/1.115, allocations: 8.344 kB / 1.357 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/1.115, allocations: 20.17 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.115, allocations: 0.6094 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.115, allocations: 3.953 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.115, allocations: 0.5625 kB / 1.357 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/1.115, allocations: 213.6 kB / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.115, allocations: 0 / 1.357 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.115, allocations: 29.31 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.115, allocations: 0 / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.115, allocations: 5.344 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.115, allocations: 0 / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.115, allocations: 0 / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/1.115, allocations: 203.5 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/1.115, allocations: 81.67 kB / 1.358 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.115, allocations: 8.469 kB / 1.358 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.115, allocations: 11.3 kB / 1.358 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/1.115, allocations: 22.02 kB / 1.358 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/1.116, allocations: 0.6562 kB / 1.358 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.038e-05/1.116, allocations: 106.8 kB / 1.358 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.116, allocations: 0 / 1.358 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002321/1.116, allocations: 27.06 kB / 1.358 GB, free: 31.21 MB / 0.8386 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 () * 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.0004603/1.116, allocations: 0.7444 MB / 1.358 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001583/1.116, allocations: 75.8 kB / 1.359 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.116, allocations: 0 / 1.359 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/1.117, allocations: 47.03 kB / 1.359 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/1.117, allocations: 12.48 kB / 1.359 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/1.117, allocations: 200.9 kB / 1.359 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/1.118, allocations: 0.7178 MB / 1.359 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.134e-05/1.118, allocations: 10.7 kB / 1.36 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/1.118, allocations: 40.05 kB / 1.36 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.118, allocations: 0 / 1.36 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.138, allocations: 2.129 MB / 1.362 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.139, allocations: 193.1 kB / 1.362 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.791, allocations: 1.031 kB / 1.362 GB, free: 29.36 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat