Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001344/0.001344, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001331/0.001331, allocations: 191.8 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 474.5 MB / 0.7477 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 68.11 kB / 1.073 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.915/0.9171, allocations: 160.3 MB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002371/0.9195, allocations: 1.012 MB / 1.23 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.9207, allocations: 0.9752 MB / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.9208, allocations: 4 kB / 1.231 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.369e-05/0.9208, allocations: 11.81 kB / 1.231 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.921, allocations: 31.72 kB / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.9212, allocations: 63.94 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.9214, allocations: 164.1 kB / 1.231 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.9217, allocations: 80.2 kB / 1.231 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.9218, allocations: 75.62 kB / 1.232 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.9219, allocations: 75.62 kB / 1.232 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.922, allocations: 20 kB / 1.232 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.476e-05/0.922, allocations: 16 kB / 1.232 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.922, allocations: 35.86 kB / 1.232 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.9221, allocations: 75.59 kB / 1.232 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.9224, allocations: 211.7 kB / 1.232 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9224, allocations: 0 / 1.232 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9224, allocations: 0 / 1.232 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.9224, allocations: 3.984 kB / 1.232 GB, free: 8.102 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007025/0.9231, allocations: 458.7 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.9232, allocations: 8.031 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.9232, allocations: 20.8 kB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.9237, allocations: 258.1 kB / 1.233 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.9237, allocations: 12.38 kB / 1.233 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.9238, allocations: 12.38 kB / 1.233 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.9241, allocations: 154 kB / 1.233 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9241, allocations: 192 / 1.233 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.9242, allocations: 11.94 kB / 1.233 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.9242, allocations: 4 kB / 1.233 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.9245, allocations: 107.9 kB / 1.233 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.9252, allocations: 480.2 kB / 1.233 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.9256, allocations: 126.6 kB / 1.234 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.9257, allocations: 52.83 kB / 1.234 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.9258, allocations: 11.86 kB / 1.234 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.9258, allocations: 38.48 kB / 1.234 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.9258, allocations: 4 kB / 1.234 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0005722/0.9264, allocations: 173.5 kB / 1.234 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.9265, allocations: 51.41 kB / 1.234 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.9266, allocations: 153.2 kB / 1.234 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.9266, allocations: 33.7 kB / 1.234 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.9267, allocations: 124.3 kB / 1.234 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.9268, allocations: 39.7 kB / 1.234 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.9268, allocations: 37.7 kB / 1.234 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.927, allocations: 326.8 kB / 1.235 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.9272, allocations: 43.95 kB / 1.235 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.9273, allocations: 76.73 kB / 1.235 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.9276, allocations: 115.7 kB / 1.235 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9277, allocations: 0 / 1.235 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003791/0.928, allocations: 153.5 kB / 1.235 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9281, allocations: 8 kB / 1.235 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9281, allocations: 0 / 1.235 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.9281, allocations: 4 kB / 1.235 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.9283, allocations: 23.97 kB / 1.235 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.9283, allocations: 7.938 kB / 1.235 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.9284, allocations: 19.88 kB / 1.235 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.9284, allocations: 8.094 kB / 1.235 GB, free: 4.758 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.0001139/0.9285, allocations: 129.8 kB / 1.235 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.9286, allocations: 11.91 kB / 1.235 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.9286, allocations: 16.7 kB / 1.235 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9286, allocations: 4 kB / 1.235 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9286, allocations: 0 / 1.235 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9286, allocations: 0 / 1.235 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.9289, allocations: 241.5 kB / 1.235 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9289, allocations: 8 kB / 1.235 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.9291, allocations: 19.92 kB / 1.235 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9291, allocations: 0 / 1.235 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.9291, allocations: 4 kB / 1.235 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9291, allocations: 0 / 1.235 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9291, allocations: 0 / 1.235 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.9295, allocations: 239.3 kB / 1.236 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.9296, allocations: 89.05 kB / 1.236 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.9296, allocations: 4 kB / 1.236 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.9297, allocations: 7.984 kB / 1.236 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.9298, allocations: 15.98 kB / 1.236 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.9298, allocations: 4 kB / 1.236 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.86e-05/0.9299, allocations: 117.8 kB / 1.236 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.93, allocations: 3.938 kB / 1.236 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002591/0.9302, allocations: 27.89 kB / 1.236 GB, free: 3.738 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001498/0.9304, allocations: 115.1 kB / 1.236 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.9308, allocations: 115.8 kB / 1.236 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9308, allocations: 0 / 1.236 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.9309, allocations: 64.08 kB / 1.236 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9313, allocations: 23.28 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.9319, allocations: 272.4 kB / 1.236 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.9322, allocations: 0.7123 MB / 1.237 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.9323, allocations: 25.06 kB / 1.237 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.9324, allocations: 15.44 kB / 1.237 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.9324, allocations: 0 / 1.237 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of Templates: time 0.004177/0.9366, allocations: 1.259 MB / 1.238 GB, free: 1.137 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches