Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001174/0.001174, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.509/1.509, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.906/2.906, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 9.625 kB / 0.9035 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001466/0.3355, allocations: 0.7205 MB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3369, allocations: 0.9558 MB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3371, allocations: 4 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/0.3371, allocations: 11.86 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3373, allocations: 19.91 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.3375, allocations: 51.91 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3377, allocations: 156 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3379, allocations: 88.08 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.3381, allocations: 43.8 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3382, allocations: 55.62 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3383, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.3383, allocations: 8 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.3383, allocations: 23.84 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.3384, allocations: 81.31 kB / 1.062 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3386, allocations: 155.8 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3386, allocations: 0 / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3386, allocations: 0 / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3386, allocations: 4 kB / 1.062 GB, free: 2.582 MB / 0.8106 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.0006853/0.3393, allocations: 428.2 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3394, allocations: 15.97 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3395, allocations: 16.75 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.3399, allocations: 264 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.34, allocations: 12.38 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.34, allocations: 12.38 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.3404, allocations: 154 kB / 1.063 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3404, allocations: 192 / 1.063 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.3404, allocations: 11.94 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3404, allocations: 4 kB / 1.063 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.3408, allocations: 131.8 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.3415, allocations: 484.2 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.3418, allocations: 134.5 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.342, allocations: 56.83 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3421, allocations: 7.938 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3421, allocations: 38.56 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3421, allocations: 0 / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005828/0.3427, allocations: 193.3 kB / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3427, allocations: 55.41 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3429, allocations: 158.1 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3429, allocations: 25.7 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.343, allocations: 124.2 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.343, allocations: 39.47 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3431, allocations: 29.7 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3432, allocations: 326.8 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3434, allocations: 47.97 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3436, allocations: 79.39 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.3439, allocations: 127.3 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3439, allocations: 0 / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003977/0.3443, allocations: 161.4 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3443, allocations: 8.094 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3444, allocations: 4 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3444, allocations: 0 / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3446, allocations: 31.92 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3446, allocations: 0 / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3447, allocations: 23.89 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3447, allocations: 4 kB / 1.065 GB, free: 15.18 MB / 0.8262 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.0001383/0.3449, allocations: 145.7 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3449, allocations: 7.906 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.3449, allocations: 12.72 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3449, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.345, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.345, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.3452, allocations: 241.4 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3452, allocations: 0 / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3454, allocations: 31.91 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3454, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3454, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3454, allocations: 4 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3454, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.3458, allocations: 247.8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3459, allocations: 84.92 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3459, allocations: 11.98 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.346, allocations: 11.98 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.3461, allocations: 15.97 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3461, allocations: 11.94 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.3462, allocations: 117 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3462, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000252/0.3465, allocations: 23.94 kB / 1.066 GB, free: 14.14 MB / 0.8262 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.0001281/0.3466, allocations: 110.1 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.347, allocations: 127.9 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.347, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3472, allocations: 72.03 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3475, allocations: 12 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.3482, allocations: 353.7 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3485, allocations: 0.7126 MB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.3485, allocations: 23.42 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3485, allocations: 4 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.003549/0.3521, allocations: 1.654 MB / 1.069 GB, free: 11.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches