Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 113.1 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.001381/0.001381, allocations: 183 kB / 17.34 MB, free: 5.762 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.407/1.407, 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.418/2.418, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 59.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9451/0.9474, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002216/0.9497, allocations: 1.013 MB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.9512, allocations: 0.9645 MB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.9513, allocations: 2.625 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.637e-05/0.9514, allocations: 14.86 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.9515, allocations: 25.17 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.9518, allocations: 68.03 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.952, allocations: 155 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.9523, allocations: 81.42 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.9525, allocations: 72.2 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.9527, allocations: 67.58 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.9528, allocations: 23.91 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.9528, allocations: 15.91 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.9529, allocations: 34.53 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.953, allocations: 72.08 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.9534, allocations: 209.2 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.9534, allocations: 0.8438 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9534, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.9534, allocations: 0 / 1.091 GB, free: 3.719 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.00074/0.9541, allocations: 446.2 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9542, allocations: 10.55 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.9543, allocations: 16.62 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.9547, allocations: 256.1 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.9547, allocations: 10.59 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.9548, allocations: 12.72 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.9553, allocations: 149.9 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.9553, allocations: 4 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.9554, allocations: 6 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.9554, allocations: 4.016 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.9559, allocations: 110.8 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.9568, allocations: 469.6 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.9572, allocations: 112.5 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.9574, allocations: 49.3 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.9575, allocations: 2.359 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.9575, allocations: 31.31 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 3.737e-06/0.9575, allocations: 4.625 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0008352/0.9584, allocations: 169.9 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.9584, allocations: 52.84 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.9586, allocations: 153.1 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.9586, allocations: 30.58 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.9587, allocations: 123.7 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.9588, allocations: 34.17 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.9589, allocations: 38.52 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.959, allocations: 326 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.9592, allocations: 42.86 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.9595, allocations: 69.12 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.9599, allocations: 106.8 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9599, allocations: 4 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006/0.9606, allocations: 152 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.9606, allocations: 5.531 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.9606, allocations: 1.469 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.9607, allocations: 1.531 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.9609, allocations: 33.23 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.961, allocations: 1.5 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.9611, allocations: 14.27 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.9612, allocations: 11.86 kB / 1.094 GB, free: 1.473 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 0.0001576/0.9613, allocations: 129.2 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.9614, allocations: 17.06 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.9615, allocations: 17.36 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.9615, allocations: 0.9688 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.9615, allocations: 1.031 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.9615, allocations: 1.266 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.9619, allocations: 227.1 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9619, allocations: 4 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.9621, allocations: 24.47 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9621, allocations: 0.7812 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.9622, allocations: 1.453 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.9622, allocations: 1.344 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9622, allocations: 0.5625 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.9628, allocations: 237.5 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.9629, allocations: 93.36 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.9629, allocations: 0.5 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.9631, allocations: 12.28 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9632, allocations: 19.75 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.9632, allocations: 3.125 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001038/0.9633, allocations: 110.7 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9634, allocations: 0 / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004554/0.9638, allocations: 22.38 kB / 1.095 GB, free: 0.7188 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.0002756/0.9641, allocations: 116.8 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006704/0.9648, allocations: 109.9 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9648, allocations: 0 / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.9651, allocations: 62.5 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.9658, allocations: 13.61 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.9669, allocations: 290.5 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.9675, allocations: 0.7144 MB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.9676, allocations: 17.72 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.9676, allocations: 0.8438 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.007487/0.9751, allocations: 1.655 MB / 1.098 GB, free: 15.48 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches