Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.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.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 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.002012/0.002012, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.566/1.566, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 73.66 kB / 0.9121 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4353, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.003376/0.4388, allocations: 1.347 MB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.4409, allocations: 1.314 MB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.4411, allocations: 4 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.4412, allocations: 35.55 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.4414, allocations: 35.53 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.442, allocations: 234.9 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.4425, allocations: 376.3 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.4428, allocations: 172.9 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.443, allocations: 151.5 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.4432, allocations: 171.3 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.4433, allocations: 40 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4434, allocations: 55.98 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.4435, allocations: 75.75 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.4438, allocations: 163.1 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005964/0.4444, allocations: 462.8 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4444, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4444, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4444, allocations: 0 / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001176/0.4456, allocations: 0.6449 MB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4456, allocations: 8.031 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.4457, allocations: 36.56 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009156/0.4467, allocations: 361.9 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.4467, allocations: 20.94 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.4468, allocations: 32.38 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.4475, allocations: 312.3 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4475, allocations: 7.938 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.4475, allocations: 12 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4475, allocations: 8 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.4482, allocations: 220.5 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.4497, allocations: 0.9986 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.4502, allocations: 207.8 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.4506, allocations: 106.6 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4506, allocations: 7.984 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005429/0.4512, allocations: 184.3 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/0.4512, allocations: 0 / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.001119/0.4523, allocations: 313.1 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4524, allocations: 106.8 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.4528, allocations: 228 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.4528, allocations: 29.7 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.453, allocations: 176.3 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.4531, allocations: 67.08 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4533, allocations: 77.67 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4534, allocations: 338.8 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.4538, allocations: 96.2 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.4542, allocations: 196.5 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.455, allocations: 304.5 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.455, allocations: 0 / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009665/0.456, allocations: 362.8 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.4561, allocations: 41.64 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4561, allocations: 4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.4561, allocations: 7.984 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.4564, allocations: 51.89 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4565, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.4568, allocations: 67.88 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.4569, allocations: 16 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001841/0.457, allocations: 163.7 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.4571, allocations: 31.64 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.4572, allocations: 21.41 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4572, allocations: 8 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4572, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4572, allocations: 3.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.4576, allocations: 317.4 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4576, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.4578, allocations: 39.95 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4578, allocations: 3.938 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.4579, allocations: 8 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4579, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4579, allocations: 7.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.4586, allocations: 270.4 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.4587, allocations: 104.8 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.4587, allocations: 7.938 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4589, allocations: 20.09 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.459, allocations: 31.97 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.4591, allocations: 15.98 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000137/0.4592, allocations: 141.9 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4592, allocations: 0 / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003487/0.4596, allocations: 67.78 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002164/0.4598, allocations: 125.6 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009118/0.4607, allocations: 307.6 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4607, allocations: 0 / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.4611, allocations: 131.7 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.4614, allocations: 44.12 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.4624, allocations: 466.8 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4628, allocations: 0.7597 MB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.4629, allocations: 34.28 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.463, allocations: 31.42 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of SimCode: time 8.12e-07/0.463, allocations: 3.938 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.009041/0.4721, allocations: 3.134 MB / 1.084 GB, free: 9.41 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches