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.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001527/0.001527, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 482.4 MB / 0.755 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 68.3 kB / 0.9241 GB, free: 300 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8617/0.8638, allocations: 162.2 MB / 1.082 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides): time 0.002754/0.8666, allocations: 1.379 MB / 1.084 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.8686, allocations: 1.312 MB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.8688, allocations: 3.938 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.8689, allocations: 21.8 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.8691, allocations: 21.78 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.8698, allocations: 199.1 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.8703, allocations: 381.7 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.8706, allocations: 174.5 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.8708, allocations: 156 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.8711, allocations: 166.4 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/0.8712, allocations: 40.12 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.8713, allocations: 53.11 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.8714, allocations: 80.3 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.8716, allocations: 170.8 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.8721, allocations: 357.1 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8721, allocations: 0 / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8721, allocations: 0 / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.8721, allocations: 0 / 1.087 GB, free: 14.89 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001373/0.8735, allocations: 0.6363 MB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8736, allocations: 13.34 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.8737, allocations: 35.12 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.8746, allocations: 357.6 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.8747, allocations: 26.84 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.8747, allocations: 34.33 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.8754, allocations: 310.4 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.8755, allocations: 7.859 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.8755, allocations: 10.44 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.8755, allocations: 7.75 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.8762, allocations: 226.6 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.8778, allocations: 0.9872 MB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.8784, allocations: 209.4 kB / 1.09 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.8787, allocations: 103 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.8788, allocations: 10.19 kB / 1.09 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.8793, allocations: 182 kB / 1.09 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.8793, allocations: 0 / 1.09 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.001112/0.8804, allocations: 315.3 kB / 1.09 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.8805, allocations: 106.1 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.8808, allocations: 231.8 kB / 1.091 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.8809, allocations: 33.47 kB / 1.091 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.881, allocations: 174.2 kB / 1.091 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.8811, allocations: 64.7 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.8812, allocations: 80.17 kB / 1.091 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8814, allocations: 335.6 kB / 1.091 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.8818, allocations: 98.14 kB / 1.091 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.8822, allocations: 191.5 kB / 1.091 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.8829, allocations: 302.4 kB / 1.092 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.8829, allocations: 1.312 kB / 1.092 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009445/0.8838, allocations: 370.1 kB / 1.092 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.8839, allocations: 39.97 kB / 1.092 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8839, allocations: 6.188 kB / 1.092 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.884, allocations: 4.969 kB / 1.092 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.8843, allocations: 54.06 kB / 1.092 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.8843, allocations: 13.2 kB / 1.092 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.8846, allocations: 61.92 kB / 1.092 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.8847, allocations: 19.17 kB / 1.092 GB, free: 11.23 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.0001995/0.8849, allocations: 154 kB / 1.092 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.885, allocations: 30.77 kB / 1.092 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.885, allocations: 26.08 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.885, allocations: 2.219 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8851, allocations: 1.188 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8851, allocations: 2.859 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.8855, allocations: 316.9 kB / 1.093 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8855, allocations: 5.688 kB / 1.093 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.8857, allocations: 41.58 kB / 1.093 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.8858, allocations: 9.5 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.8858, allocations: 8.047 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.8858, allocations: 1.469 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8858, allocations: 1.844 kB / 1.093 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.8865, allocations: 273.3 kB / 1.093 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.8866, allocations: 100.6 kB / 1.093 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.8867, allocations: 6.656 kB / 1.093 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.8868, allocations: 22.64 kB / 1.093 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.887, allocations: 39.44 kB / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.887, allocations: 7.969 kB / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001438/0.8871, allocations: 149.6 kB / 1.093 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8872, allocations: 0 / 1.093 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003542/0.8875, allocations: 61.94 kB / 1.093 GB, free: 10.39 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.0002035/0.8877, allocations: 114.4 kB / 1.094 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009112/0.8886, allocations: 313.2 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8887, allocations: 0.625 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.8891, allocations: 119.3 kB / 1.094 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.8894, allocations: 38.12 kB / 1.094 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.8907, allocations: 0.5825 MB / 1.095 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.8912, allocations: 0.7594 MB / 1.095 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.8914, allocations: 28.27 kB / 1.095 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.8914, allocations: 3.938 kB / 1.095 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of Templates: time 0.00756/0.8989, allocations: 3.383 MB / 1.099 GB, free: 8.621 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches