Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001254/0.001254, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001529/0.001529, allocations: 191 kB / 16.25 MB, free: 6.637 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.568/1.568, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8608, allocations: 140.4 MB / 0.9492 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides): time 0.003068/0.8639, allocations: 1.39 MB / 0.9505 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.866, allocations: 1.298 MB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.8664, allocations: 3.281 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.8665, allocations: 17.05 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.8667, allocations: 19.2 kB / 0.9518 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.8673, allocations: 204.3 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.8677, allocations: 381.8 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.8681, allocations: 171.8 kB / 0.9525 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.8682, allocations: 150.5 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.8684, allocations: 165.7 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.8685, allocations: 43.19 kB / 0.9529 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.8686, allocations: 54.02 kB / 0.9529 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.8687, allocations: 73.5 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.8688, allocations: 169.5 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.8693, allocations: 461.9 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8693, allocations: 1.344 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8693, allocations: 0 / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.8693, allocations: 0 / 0.9536 GB, free: 5.855 MB / 0.7169 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.001082/0.8704, allocations: 0.6404 MB / 0.9542 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.8705, allocations: 10.09 kB / 0.9542 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.8706, allocations: 34.88 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.8714, allocations: 359.2 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.8715, allocations: 26.69 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.8715, allocations: 30.56 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.8722, allocations: 315.7 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.8722, allocations: 1.156 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.8722, allocations: 18.45 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.8722, allocations: 7.156 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.8729, allocations: 222.4 kB / 0.9552 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.874, allocations: 0.9996 MB / 0.9562 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.8744, allocations: 208.1 kB / 0.9564 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.8747, allocations: 105.2 kB / 0.9565 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.8748, allocations: 2.188 kB / 0.9565 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.8753, allocations: 183.9 kB / 0.9567 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.8753, allocations: 0 / 0.9567 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0009823/0.8763, allocations: 313.3 kB / 0.957 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.8763, allocations: 114.5 kB / 0.9571 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.8765, allocations: 226.7 kB / 0.9573 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.8766, allocations: 32.7 kB / 0.9573 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.8767, allocations: 177.7 kB / 0.9575 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.8767, allocations: 59.42 kB / 0.9575 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.8769, allocations: 79.73 kB / 0.9576 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.877, allocations: 332 kB / 0.9579 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.8774, allocations: 100.7 kB / 0.958 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.8777, allocations: 186.9 kB / 0.9582 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.8784, allocations: 301.5 kB / 0.9585 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8784, allocations: 1.375 kB / 0.9585 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008699/0.8792, allocations: 383.5 kB / 0.9589 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.8793, allocations: 34.14 kB / 0.9589 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.8793, allocations: 3.219 kB / 0.9589 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.8793, allocations: 4.406 kB / 0.9589 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.8796, allocations: 54.7 kB / 0.959 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.8797, allocations: 5.344 kB / 0.959 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.88, allocations: 63.97 kB / 0.959 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.88, allocations: 16.97 kB / 0.959 GB, free: 1.496 MB / 0.7169 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.0001623/0.8802, allocations: 146 kB / 0.9592 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.8803, allocations: 33.3 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.8803, allocations: 22.28 kB / 0.9592 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.8803, allocations: 11.34 kB / 0.9592 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.8804, allocations: 1.094 kB / 0.9592 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8804, allocations: 5.172 kB / 0.9593 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.8807, allocations: 318.3 kB / 0.9596 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8807, allocations: 9.016 kB / 0.9596 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.8809, allocations: 39.34 kB / 0.9596 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.881, allocations: 1.094 kB / 0.9596 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.881, allocations: 6.156 kB / 0.9596 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.881, allocations: 2.25 kB / 0.9596 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.881, allocations: 1.156 kB / 0.9596 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.8817, allocations: 273 kB / 0.9599 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.8817, allocations: 107.5 kB / 0.96 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.8817, allocations: 2.531 kB / 0.96 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.8819, allocations: 20.41 kB / 0.96 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.882, allocations: 32.84 kB / 0.96 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.882, allocations: 13.61 kB / 0.96 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001051/0.8822, allocations: 148.9 kB / 0.9602 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8822, allocations: 1.094 kB / 0.9602 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003469/0.8825, allocations: 64.5 kB / 0.9602 GB, free: 0.5273 MB / 0.7169 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.0001862/0.8827, allocations: 124.6 kB / 0.9604 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008215/0.8835, allocations: 315 kB / 0.9607 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8835, allocations: 0 / 0.9607 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.8839, allocations: 124.8 kB / 0.9608 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.8842, allocations: 36.83 kB / 0.9608 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.8852, allocations: 0.554 MB / 0.9614 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.8856, allocations: 0.7628 MB / 0.9621 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.8858, allocations: 35.56 kB / 0.9621 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.8859, allocations: 32.98 kB / 0.9622 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.8859, allocations: 1.25 kB / 0.9622 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.008222/0.8941, allocations: 2.937 MB / 0.965 GB, free: 13.53 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches