Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.01042/0.01042, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001782/0.001782, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.824/2.824, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.22 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.415, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.003313/0.4184, allocations: 1.338 MB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.4206, allocations: 1.311 MB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.4208, allocations: 4 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.4209, allocations: 35.53 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.4211, allocations: 43.53 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.4219, allocations: 226.1 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.4223, allocations: 384.3 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.4226, allocations: 169 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.4228, allocations: 155.5 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.4231, allocations: 175.2 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.4232, allocations: 44 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4233, allocations: 55.98 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.4234, allocations: 67.77 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.4236, allocations: 167.2 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.4243, allocations: 482 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4243, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4243, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4243, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 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.00157/0.4259, allocations: 0.6485 MB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4259, allocations: 8.031 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.4261, allocations: 40.7 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.427, allocations: 360.2 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.427, allocations: 20.94 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.4271, allocations: 32.38 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.4278, allocations: 311.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4278, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.4279, allocations: 16 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4279, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.4286, allocations: 220.5 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.4301, allocations: 0.9988 MB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.4306, allocations: 215.7 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.4309, allocations: 94.61 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.431, allocations: 11.94 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/0.4316, allocations: 177.8 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.023e-06/0.4316, allocations: 0 / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.001129/0.4327, allocations: 321.3 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.4328, allocations: 110.8 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.4331, allocations: 228.1 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.4332, allocations: 37.7 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.4334, allocations: 180.6 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.4334, allocations: 63.47 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.4336, allocations: 77.67 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4338, allocations: 334.8 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.4341, allocations: 96.7 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.4346, allocations: 192.2 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.4353, allocations: 304.5 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4354, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009437/0.4363, allocations: 370.7 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.4364, allocations: 41.7 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4364, allocations: 320 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.4364, allocations: 11.98 kB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.4367, allocations: 47.91 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4368, allocations: 4 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.4371, allocations: 59.78 kB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.4372, allocations: 16 kB / 1.098 GB, free: 6.859 MB / 0.8575 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.0001942/0.4374, allocations: 167.9 kB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.4375, allocations: 27.8 kB / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.4375, allocations: 25.34 kB / 1.098 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.4375, allocations: 7.984 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4376, allocations: 0 / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4376, allocations: 0 / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.4379, allocations: 317.5 kB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.438, allocations: 3.938 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.4382, allocations: 43.91 kB / 1.098 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4382, allocations: 0 / 1.098 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.4382, allocations: 11.98 kB / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4382, allocations: 0 / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4382, allocations: 0 / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/0.4389, allocations: 277.4 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.439, allocations: 104.8 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4391, allocations: 4.125 kB / 1.099 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4392, allocations: 19.97 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4393, allocations: 39.97 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.4394, allocations: 11.98 kB / 1.099 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001283/0.4395, allocations: 145.6 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4395, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003213/0.4399, allocations: 67.78 kB / 1.099 GB, free: 5.516 MB / 0.8575 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.0002418/0.4401, allocations: 123.2 kB / 1.099 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.441, allocations: 311 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.441, allocations: 0 / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.4414, allocations: 132.6 kB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.4417, allocations: 38.39 kB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4427, allocations: 450.4 kB / 1.1 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.4432, allocations: 0.7597 MB / 1.101 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.4434, allocations: 42.27 kB / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4435, allocations: 35.42 kB / 1.101 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.4435, allocations: 0 / 1.101 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.009363/0.4529, allocations: 3.138 MB / 1.104 GB, free: 0.4961 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches