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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001545/0.001546, allocations: 172.7 kB / 15.95 MB, free: 208 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.585/1.585, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003778, allocations: 11.98 kB / 0.8154 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8127, allocations: 142.4 MB / 0.9545 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001152/0.8139, allocations: 0.667 MB / 0.9551 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.815, allocations: 0.9606 MB / 0.9561 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.8151, allocations: 6.656 kB / 0.9561 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.8152, allocations: 7.922 kB / 0.9561 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.8153, allocations: 14.19 kB / 0.9561 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.8155, allocations: 41.59 kB / 0.9562 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.8157, allocations: 138.8 kB / 0.9563 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.8158, allocations: 66.2 kB / 0.9563 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.816, allocations: 52.89 kB / 0.9564 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.8161, allocations: 49.11 kB / 0.9564 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.8161, allocations: 5.031 kB / 0.9564 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.8161, allocations: 4.094 kB / 0.9565 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.8161, allocations: 20.56 kB / 0.9565 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.8162, allocations: 47.89 kB / 0.9565 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.8163, allocations: 144 kB / 0.9567 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8163, allocations: 0 / 0.9567 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8163, allocations: 3.938 kB / 0.9567 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8163, allocations: 4 kB / 0.9567 GB, free: 6.082 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.0004981/0.8168, allocations: 431.7 kB / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8169, allocations: 9.594 kB / 0.9571 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.8169, allocations: 19.27 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.8173, allocations: 258.5 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.8174, allocations: 13.69 kB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.8174, allocations: 12.94 kB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.8177, allocations: 145.4 kB / 0.9575 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8177, allocations: 4 kB / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.8177, allocations: 9.328 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8177, allocations: 3.25 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.818, allocations: 120.5 kB / 0.9576 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.8186, allocations: 472.8 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.8189, allocations: 107.2 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.819, allocations: 58.98 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.819, allocations: 9.578 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.819, allocations: 35.94 kB / 0.9583 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.404e-06/0.819, allocations: 3.984 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004766/0.8195, allocations: 186.5 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.8196, allocations: 53.66 kB / 0.9585 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.8197, allocations: 151.4 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.8197, allocations: 30.92 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.8198, allocations: 127 kB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.8198, allocations: 31.2 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.8198, allocations: 1.5 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.8198, allocations: 325.5 kB / 0.9592 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.82, allocations: 46.88 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.8201, allocations: 75.02 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.8202, allocations: 52.78 kB / 0.9593 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8203, allocations: 0 / 0.9593 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003098/0.8206, allocations: 166.8 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8206, allocations: 5.5 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8206, allocations: 0 / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.8206, allocations: 6.703 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.8208, allocations: 28.7 kB / 0.9595 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8208, allocations: 5.312 kB / 0.9595 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.8209, allocations: 21.52 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.8209, allocations: 8.125 kB / 0.9596 GB, free: 3.629 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.131e-05/0.821, allocations: 130 kB / 0.9597 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.821, allocations: 13.41 kB / 0.9597 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.8211, allocations: 15.47 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.8211, allocations: 5.328 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8211, allocations: 0 / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8211, allocations: 1.375 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.8213, allocations: 233.1 kB / 0.9599 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8213, allocations: 0 / 0.9599 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.8214, allocations: 24.42 kB / 0.96 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.8214, allocations: 1.375 kB / 0.96 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.8214, allocations: 4 kB / 0.96 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.8214, allocations: 5.359 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8215, allocations: 3.953 kB / 0.96 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.8218, allocations: 240.1 kB / 0.9602 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.8218, allocations: 87.67 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.8218, allocations: 1.375 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.8219, allocations: 16.23 kB / 0.9603 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.822, allocations: 14.86 kB / 0.9603 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.822, allocations: 5.328 kB / 0.9603 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.8221, allocations: 114.8 kB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8221, allocations: 4 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002557/0.8223, allocations: 26.28 kB / 0.9605 GB, free: 2.801 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.0001157/0.8225, allocations: 110 kB / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.8228, allocations: 124 kB / 0.9607 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8228, allocations: 1 kB / 0.9607 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.8229, allocations: 62.17 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.8232, allocations: 14.73 kB / 0.9608 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.8237, allocations: 311.9 kB / 0.9611 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.8239, allocations: 0.7111 MB / 0.9618 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.522e-05/0.824, allocations: 16.83 kB / 0.9618 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.824, allocations: 14.78 kB / 0.9618 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.824, allocations: 0 / 0.9618 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of Templates: time 0.003516/0.8276, allocations: 1.051 MB / 0.9628 GB, free: 1.141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches