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.001484/0.001484, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001479/0.001479, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.4 MB / 0.7553 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 64.5 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7249, allocations: 162.2 MB / 1.083 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002164/0.7271, allocations: 1.016 MB / 1.084 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.7281, allocations: 0.9734 MB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.7281, allocations: 2.188 kB / 1.085 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.7282, allocations: 15.33 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.7283, allocations: 19.64 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.7285, allocations: 69.94 kB / 1.085 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.7286, allocations: 163.3 kB / 1.085 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.7288, allocations: 86.64 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.729, allocations: 75.7 kB / 1.085 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.7291, allocations: 65.77 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.7291, allocations: 21.19 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.969e-05/0.7292, allocations: 16.84 kB / 1.085 GB, free: 4 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.7292, allocations: 43.36 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.7293, allocations: 73.23 kB / 1.086 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.7296, allocations: 194.5 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7296, allocations: 5.406 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7296, allocations: 0 / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7296, allocations: 0 / 1.086 GB, free: 15.85 MB / 0.8419 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.0007287/0.7304, allocations: 454.4 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7304, allocations: 9.5 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.7305, allocations: 16.72 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.7309, allocations: 256.4 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.731, allocations: 10.66 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.731, allocations: 13.5 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.7313, allocations: 152.2 kB / 1.087 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.7314, allocations: 4.188 kB / 1.087 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.7314, allocations: 9.531 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.7314, allocations: 3.953 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.7318, allocations: 117 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.7325, allocations: 482.9 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.7328, allocations: 121.8 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.733, allocations: 60.23 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.733, allocations: 0.7812 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.7331, allocations: 41.2 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.7331, allocations: 0 / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005833/0.7336, allocations: 173.9 kB / 1.088 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7337, allocations: 57.06 kB / 1.088 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.7339, allocations: 159.6 kB / 1.088 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.7339, allocations: 25.7 kB / 1.088 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.734, allocations: 125.4 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.734, allocations: 29.7 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.7341, allocations: 39.94 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7343, allocations: 325.4 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.7344, allocations: 48.39 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.7346, allocations: 77.5 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.7349, allocations: 109 kB / 1.089 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7349, allocations: 0 / 1.089 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003754/0.7353, allocations: 153.7 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.7353, allocations: 5.516 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7354, allocations: 1.094 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7354, allocations: 6.812 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.7356, allocations: 28.45 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7356, allocations: 1.781 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.7357, allocations: 14.34 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.7357, allocations: 5.641 kB / 1.089 GB, free: 13.57 MB / 0.8419 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.0001154/0.7358, allocations: 134.7 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.7359, allocations: 13.36 kB / 1.089 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.7359, allocations: 16.64 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.7359, allocations: 1.344 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7359, allocations: 0.8438 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.7359, allocations: 0.6562 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.7362, allocations: 243.3 kB / 1.089 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7362, allocations: 5.062 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.7363, allocations: 19.22 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7363, allocations: 0 / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.7363, allocations: 6.703 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7364, allocations: 1.25 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7364, allocations: 4 kB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.7368, allocations: 240.2 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.7368, allocations: 85.66 kB / 1.089 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.7369, allocations: 5.438 kB / 1.089 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.737, allocations: 9.484 kB / 1.089 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.737, allocations: 21.06 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.7371, allocations: 5.781 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.7371, allocations: 110.8 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7371, allocations: 1.125 kB / 1.09 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002498/0.7374, allocations: 29.91 kB / 1.09 GB, free: 12.79 MB / 0.8419 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.0001163/0.7375, allocations: 105.7 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.7379, allocations: 133.5 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7379, allocations: 1.562 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.7381, allocations: 54.97 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.7384, allocations: 12.83 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.7389, allocations: 297.4 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.7393, allocations: 0.7169 MB / 1.091 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.7394, allocations: 18.62 kB / 1.091 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7394, allocations: 0 / 1.091 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.003546/0.7429, allocations: 1.69 MB / 1.093 GB, free: 11.55 MB / 0.8419 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=400 -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