Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001503/0.001503, allocations: 187 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8471, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002544/0.8497, allocations: 1.015 MB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.851, allocations: 0.9603 MB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.8511, allocations: 2.219 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.8512, allocations: 18.98 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.8513, allocations: 28.72 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.8516, allocations: 69.22 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.8518, allocations: 154.2 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.852, allocations: 83.92 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.8522, allocations: 67.98 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.8523, allocations: 78.86 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.8524, allocations: 16.25 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.8524, allocations: 16.5 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.8524, allocations: 34.84 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.8525, allocations: 71.89 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.8528, allocations: 205.2 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8528, allocations: 0.7969 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8529, allocations: 1.281 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.8529, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 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.000682/0.8536, allocations: 449.1 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8536, allocations: 9.688 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.8537, allocations: 16.31 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.8542, allocations: 255.5 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.8542, allocations: 11.86 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.8543, allocations: 16.77 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.8546, allocations: 150.4 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.8547, allocations: 0 / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.8547, allocations: 5.156 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.8547, allocations: 3.844 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.8551, allocations: 111.2 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.8558, allocations: 473.7 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.8561, allocations: 99.83 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.8563, allocations: 46.3 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.8563, allocations: 5.359 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.8564, allocations: 40 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.8564, allocations: 0 / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005821/0.857, allocations: 170.4 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.857, allocations: 53.25 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.8572, allocations: 152.7 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.8572, allocations: 30.31 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.8573, allocations: 123.4 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.8573, allocations: 34.86 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.8574, allocations: 34.3 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.8574, allocations: 325.1 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.8576, allocations: 43.7 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.8578, allocations: 72.66 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.8581, allocations: 103.6 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8581, allocations: 3.938 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003685/0.8585, allocations: 152.5 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8585, allocations: 5.281 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8585, allocations: 0.9375 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.8585, allocations: 2 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.8587, allocations: 24.2 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.8587, allocations: 10.97 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.8588, allocations: 21.36 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.8589, allocations: 8.547 kB / 1.094 GB, free: 1.434 MB / 0.8575 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 (reaToInt2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.859, allocations: 127.5 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.859, allocations: 12.53 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.859, allocations: 16.81 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8591, allocations: 0.9688 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8591, allocations: 1.484 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.8591, allocations: 0.75 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.8593, allocations: 235.7 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8593, allocations: 0.75 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.8595, allocations: 23.36 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8595, allocations: 4.688 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.8595, allocations: 1.453 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.8595, allocations: 1.297 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8595, allocations: 0.8125 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.8599, allocations: 233.8 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.8599, allocations: 91.58 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.86, allocations: 6.391 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.8601, allocations: 8.188 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.8602, allocations: 15.72 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.8602, allocations: 7.297 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.769e-05/0.8602, allocations: 112.5 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8603, allocations: 0 / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002592/0.8605, allocations: 26.81 kB / 1.095 GB, free: 0.6758 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.8607, allocations: 114.9 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.8612, allocations: 108.7 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8612, allocations: 0 / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.8614, allocations: 58.78 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.8618, allocations: 11.56 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.8624, allocations: 293.9 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.8627, allocations: 0.7143 MB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.8628, allocations: 18.69 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8628, allocations: 0 / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.004732/0.8675, allocations: 1.659 MB / 1.098 GB, free: 15.44 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches