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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.0006031, allocations: 15.92 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7783, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001143/0.7795, allocations: 0.6715 MB / 0.9546 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.7805, allocations: 0.9492 MB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.7806, allocations: 2.812 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.7806, allocations: 7.922 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.587e-05/0.7807, allocations: 18.69 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.7809, allocations: 44.45 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.781, allocations: 140.1 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.7812, allocations: 65.34 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.7813, allocations: 48.83 kB / 0.9558 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.7814, allocations: 49.11 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.7814, allocations: 9.125 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.7815, allocations: 7.531 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.7815, allocations: 20.7 kB / 0.9559 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.7815, allocations: 48.39 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.7817, allocations: 147.7 kB / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7817, allocations: 0 / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7817, allocations: 0 / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7817, allocations: 1.25 kB / 0.9561 GB, free: 6.359 MB / 0.7169 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.0005245/0.7822, allocations: 429.6 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7823, allocations: 9.188 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.7823, allocations: 45.83 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.7824, allocations: 20.05 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.7828, allocations: 263.8 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7828, allocations: 10.62 kB / 0.9568 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.7828, allocations: 12.59 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.7831, allocations: 146.1 kB / 0.957 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7832, allocations: 3.938 kB / 0.957 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7832, allocations: 9.641 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7832, allocations: 7.438 kB / 0.957 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.7835, allocations: 123.7 kB / 0.9571 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.7841, allocations: 473 kB / 0.9576 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.7844, allocations: 108.4 kB / 0.9577 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.7845, allocations: 57.86 kB / 0.9577 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.7845, allocations: 6.125 kB / 0.9577 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.7846, allocations: 39.75 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.7846, allocations: 0 / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004939/0.7851, allocations: 182.6 kB / 0.9579 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.7851, allocations: 57.19 kB / 0.958 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.7852, allocations: 157.3 kB / 0.9581 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.7852, allocations: 25.7 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.7853, allocations: 119.6 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.7853, allocations: 36.38 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.7853, allocations: 0 / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.7854, allocations: 321.8 kB / 0.9586 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.7855, allocations: 51.97 kB / 0.9587 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.7857, allocations: 78.67 kB / 0.9587 GB, free: 4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.7858, allocations: 48.16 kB / 0.9588 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7858, allocations: 3.938 kB / 0.9588 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003226/0.7862, allocations: 159.1 kB / 0.9589 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.7862, allocations: 5.344 kB / 0.959 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7862, allocations: 5.391 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7862, allocations: 5.297 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.7864, allocations: 28.7 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7864, allocations: 2.031 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.7865, allocations: 25.58 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.7865, allocations: 3.656 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.328e-05/0.7866, allocations: 126.9 kB / 0.9591 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.7866, allocations: 12.61 kB / 0.9592 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.7867, allocations: 15.41 kB / 0.9592 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7867, allocations: 5.203 kB / 0.9592 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7867, allocations: 0 / 0.9592 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7867, allocations: 7.938 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.7869, allocations: 230 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7869, allocations: 0 / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.787, allocations: 24.61 kB / 0.9594 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.787, allocations: 2.031 kB / 0.9594 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.787, allocations: 4 kB / 0.9594 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.787, allocations: 1.812 kB / 0.9594 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7871, allocations: 11.88 kB / 0.9594 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.7874, allocations: 231.5 kB / 0.9597 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.7874, allocations: 91.56 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.7874, allocations: 1.562 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.7875, allocations: 23.48 kB / 0.9598 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.7876, allocations: 18.25 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.7876, allocations: 2.844 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.7877, allocations: 109.6 kB / 0.9599 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7877, allocations: 0 / 0.9599 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002492/0.788, allocations: 25.62 kB / 0.9599 GB, free: 3.031 MB / 0.7169 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.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.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.0005215/0.7885, allocations: 0.7801 MB / 0.9607 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004248/0.7889, allocations: 119.3 kB / 0.9608 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7889, allocations: 0 / 0.9608 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.7891, allocations: 71.95 kB / 0.9609 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.7894, allocations: 13.55 kB / 0.9609 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.7907, allocations: 0.8106 MB / 0.9617 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.7909, allocations: 0.7103 MB / 0.9624 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.691e-05/0.791, allocations: 17.52 kB / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.7911, allocations: 42.7 kB / 0.9624 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.7911, allocations: 0 / 0.9624 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.8042, allocations: 2.494 MB / 0.9649 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.8045, allocations: 245.2 kB / 0.9651 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.572, allocations: 0 / 0.9651 GB, free: 15.52 MB / 0.7325 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