Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.277/2.277, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001067/0.001067, allocations: 192.7 kB / 487.4 MB, free: 5.055 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.631/1.631, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.001037/0.001037, allocations: 99.27 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.929e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8223/1.074, allocations: 149.3 MB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.074, allocations: 72.56 kB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006524/1.081, allocations: 2.417 MB / 1.354 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.081, allocations: 0 / 1.354 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.081, allocations: 3.812 kB / 1.354 GB, free: 33.88 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004801/1.081, allocations: 418.2 kB / 1.355 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.081, allocations: 11.72 kB / 1.355 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/1.081, allocations: 15.5 kB / 1.355 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.081, allocations: 188.8 kB / 1.355 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.081, allocations: 3.844 kB / 1.355 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/1.081, allocations: 7.625 kB / 1.355 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000167/1.082, allocations: 88.84 kB / 1.355 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/1.082, allocations: 109.7 kB / 1.355 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.082, allocations: 0 / 1.355 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.082, allocations: 0 / 1.355 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.082, allocations: 3.75 kB / 1.355 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/1.082, allocations: 468.8 kB / 1.356 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/1.083, allocations: 87.55 kB / 1.356 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/1.083, allocations: 39.27 kB / 1.356 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/1.083, allocations: 0 / 1.356 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/1.083, allocations: 34.38 kB / 1.356 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/1.083, allocations: 0 / 1.356 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002062/1.083, allocations: 98.66 kB / 1.356 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.633e-05/1.083, allocations: 55.34 kB / 1.356 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.083, allocations: 135.9 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/1.083, allocations: 30.22 kB / 1.356 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/1.083, allocations: 113.9 kB / 1.356 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/1.083, allocations: 33.47 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.083, allocations: 0 / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.083, allocations: 317.6 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/1.083, allocations: 26.06 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/1.083, allocations: 28.44 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/1.083, allocations: 21.89 kB / 1.357 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/1.083, allocations: 3.875 kB / 1.357 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001337/1.084, allocations: 99.95 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/1.084, allocations: 4.484 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/1.084, allocations: 0 / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.084, allocations: 3.938 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.084, allocations: 28.91 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/1.084, allocations: 0 / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/1.084, allocations: 19.14 kB / 1.357 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.084, allocations: 8.609 kB / 1.357 GB, free: 32.16 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.295e-05/1.084, allocations: 106.5 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001511/1.084, allocations: 107.7 kB / 1.357 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/1.084, allocations: 8.406 kB / 1.357 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/1.084, allocations: 13.03 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.084, allocations: 0 / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.084, allocations: 4.609 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.084, allocations: 1.484 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/1.084, allocations: 202.2 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.084, allocations: 4 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/1.085, allocations: 21.08 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.085, allocations: 0.6094 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.085, allocations: 4.469 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/1.085, allocations: 4 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.085, allocations: 0.7031 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/1.085, allocations: 209.2 kB / 1.357 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/1.085, allocations: 93.5 kB / 1.358 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/1.085, allocations: 4.562 kB / 1.358 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/1.085, allocations: 10.97 kB / 1.358 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/1.085, allocations: 18.25 kB / 1.358 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/1.085, allocations: 3.906 kB / 1.358 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.681e-05/1.085, allocations: 104.1 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.085, allocations: 0 / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002391/1.085, allocations: 34.81 kB / 1.358 GB, free: 31.49 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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.0004668/1.086, allocations: 0.7326 MB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001487/1.086, allocations: 76.73 kB / 1.358 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.086, allocations: 0 / 1.358 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/1.086, allocations: 52.25 kB / 1.359 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/1.086, allocations: 5.188 kB / 1.359 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/1.087, allocations: 202.9 kB / 1.359 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/1.087, allocations: 0.718 MB / 1.359 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.148e-05/1.087, allocations: 17.92 kB / 1.359 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/1.087, allocations: 45.41 kB / 1.359 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.087, allocations: 0 / 1.359 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.108, allocations: 2.128 MB / 1.362 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.108, allocations: 193.2 kB / 1.362 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.623, allocations: 1.828 kB / 1.362 GB, free: 29.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat