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.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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, 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.001715/0.001715, allocations: 193.8 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 482.3 MB / 0.7543 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 66.81 kB / 0.9234 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.379, allocations: 162.2 MB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.002963/0.382, allocations: 1.392 MB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.384, allocations: 1.314 MB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.3842, allocations: 4 kB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.559e-05/0.3843, allocations: 19.73 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.3845, allocations: 19.8 kB / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.3851, allocations: 206.7 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.3856, allocations: 380.3 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3859, allocations: 172.9 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.3861, allocations: 155.4 kB / 1.085 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.3863, allocations: 167.2 kB / 1.086 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/0.3864, allocations: 40 kB / 1.086 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3865, allocations: 52 kB / 1.086 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3866, allocations: 83.73 kB / 1.086 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3868, allocations: 159.2 kB / 1.086 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.3874, allocations: 458.8 kB / 1.086 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3874, allocations: 0 / 1.086 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3874, allocations: 0 / 1.086 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3874, allocations: 0 / 1.086 GB, free: 8.996 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.001236/0.3887, allocations: 0.6449 MB / 1.087 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3887, allocations: 12.03 kB / 1.087 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.3888, allocations: 32.56 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.3898, allocations: 356.3 kB / 1.087 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.3898, allocations: 24.94 kB / 1.087 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.3899, allocations: 32.38 kB / 1.087 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.3907, allocations: 312.3 kB / 1.088 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3907, allocations: 3.938 kB / 1.088 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.3907, allocations: 12 kB / 1.088 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3907, allocations: 8 kB / 1.088 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.3915, allocations: 228.5 kB / 1.088 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.393, allocations: 0.9946 MB / 1.089 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.3936, allocations: 211.8 kB / 1.089 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3939, allocations: 102.7 kB / 1.089 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.394, allocations: 12 kB / 1.089 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.3945, allocations: 171.1 kB / 1.089 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.3945, allocations: 4 kB / 1.089 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.001042/0.3956, allocations: 309.2 kB / 1.09 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.3957, allocations: 106.8 kB / 1.09 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3959, allocations: 235.9 kB / 1.09 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.396, allocations: 29.7 kB / 1.09 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.3962, allocations: 180.2 kB / 1.09 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.3962, allocations: 63.12 kB / 1.09 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.3964, allocations: 85.56 kB / 1.09 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3966, allocations: 334.8 kB / 1.091 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3969, allocations: 104.1 kB / 1.091 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.3973, allocations: 191.6 kB / 1.091 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.398, allocations: 292.6 kB / 1.091 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.398, allocations: 7.938 kB / 1.091 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009304/0.399, allocations: 359.5 kB / 1.092 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/0.399, allocations: 49.66 kB / 1.092 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3991, allocations: 0 / 1.092 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3991, allocations: 8.625 kB / 1.092 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3994, allocations: 47.89 kB / 1.092 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.3994, allocations: 7.938 kB / 1.092 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.3997, allocations: 59.7 kB / 1.092 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3998, allocations: 23.98 kB / 1.092 GB, free: 3.016 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.0002062/0.4, allocations: 158.5 kB / 1.092 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.4001, allocations: 31.64 kB / 1.092 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.4001, allocations: 25.39 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4001, allocations: 4 kB / 1.092 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4002, allocations: 0 / 1.092 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4002, allocations: 4 kB / 1.092 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.4005, allocations: 321.4 kB / 1.092 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4006, allocations: 0 / 1.092 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.4008, allocations: 43.89 kB / 1.092 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4008, allocations: 7.875 kB / 1.092 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.4008, allocations: 8 kB / 1.092 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4008, allocations: 0 / 1.092 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4008, allocations: 4 kB / 1.092 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.4015, allocations: 263.3 kB / 1.093 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.4016, allocations: 104.8 kB / 1.093 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.4017, allocations: 11.94 kB / 1.093 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4018, allocations: 15.98 kB / 1.093 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4019, allocations: 35.95 kB / 1.093 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.402, allocations: 15.94 kB / 1.093 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001354/0.4021, allocations: 145.6 kB / 1.093 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4021, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003248/0.4024, allocations: 71.69 kB / 1.093 GB, free: 1.672 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.0002175/0.4027, allocations: 113.1 kB / 1.093 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008469/0.4035, allocations: 315 kB / 1.093 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4035, allocations: 0.625 kB / 1.093 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.4039, allocations: 127.8 kB / 1.093 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4042, allocations: 53.7 kB / 1.093 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.4052, allocations: 0.538 MB / 1.094 GB, free: 492 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.4057, allocations: 0.7597 MB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.4059, allocations: 38.28 kB / 1.095 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.4059, allocations: 27.44 kB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.406, allocations: 4 kB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.00762/0.4136, allocations: 2.943 MB / 1.098 GB, free: 12.75 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches