Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001654/0.001654, allocations: 188.1 kB / 17.34 MB, free: 5.738 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7903, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.00347/0.7939, allocations: 1.75 MB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.7958, allocations: 1.141 MB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.7961, allocations: 7.094 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.7962, allocations: 50.72 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.7965, allocations: 60.28 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.7969, allocations: 183.5 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.7976, allocations: 498.8 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.7982, allocations: 282 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.7985, allocations: 200.7 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.7988, allocations: 239.2 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7989, allocations: 56.94 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.799, allocations: 57.78 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.7991, allocations: 118.6 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.7994, allocations: 238 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009721/0.8003, allocations: 0.6809 MB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8003, allocations: 0.75 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8004, allocations: 0 / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.8004, allocations: 0.7188 kB / 1.094 GB, free: 2.02 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001459/0.8018, allocations: 0.7566 MB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8019, allocations: 10.42 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.802, allocations: 57.62 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.8032, allocations: 491.4 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.8032, allocations: 38.28 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.8033, allocations: 49.81 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.8045, allocations: 0.4989 MB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.8045, allocations: 0 / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.8045, allocations: 20.75 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.8046, allocations: 10.97 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.8059, allocations: 424.1 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.8076, allocations: 1.218 MB / 1.098 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.8087, allocations: 400.5 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/0.8093, allocations: 219.2 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.8094, allocations: 8.219 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.8094, allocations: 42.66 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.8094, allocations: 0 / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.001936/0.8114, allocations: 0.5673 MB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.8115, allocations: 112.3 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.8118, allocations: 280.7 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.8118, allocations: 31.02 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.812, allocations: 223.4 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.8121, allocations: 114 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.8123, allocations: 95.91 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8125, allocations: 344.8 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.8131, allocations: 158.9 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.8137, allocations: 252.9 kB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.8148, allocations: 383.7 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8149, allocations: 5.219 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001378/0.8162, allocations: 468.1 kB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.8163, allocations: 7.25 kB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8163, allocations: 2.906 kB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.8163, allocations: 8.25 kB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.8168, allocations: 100.5 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.8169, allocations: 4.781 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.8172, allocations: 57.86 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.8173, allocations: 16.88 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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.0003438/0.8176, allocations: 180.7 kB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8177, allocations: 30.38 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.771e-05/0.8178, allocations: 45.8 kB / 1.102 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.8178, allocations: 5 kB / 1.102 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.8179, allocations: 1.438 kB / 1.102 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.8179, allocations: 6.516 kB / 1.102 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.8186, allocations: 452.9 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8186, allocations: 1.891 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.8191, allocations: 86.73 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.8191, allocations: 1.219 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.8191, allocations: 12.86 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8191, allocations: 1.906 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8191, allocations: 1.969 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.8206, allocations: 0.6552 MB / 1.103 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.8207, allocations: 112.1 kB / 1.103 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.8207, allocations: 15.08 kB / 1.103 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.8211, allocations: 39.98 kB / 1.103 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.8213, allocations: 58.56 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.8213, allocations: 13.95 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002488/0.8216, allocations: 178.3 kB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8216, allocations: 4 kB / 1.103 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000501/0.8221, allocations: 90.03 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001585/0.8223, allocations: 121.1 kB / 1.103 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.8236, allocations: 412.2 kB / 1.104 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8236, allocations: 0.5 kB / 1.104 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.8242, allocations: 220.6 kB / 1.104 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.8248, allocations: 50.27 kB / 1.104 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.8262, allocations: 0.7085 MB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.8267, allocations: 0.8129 MB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.8269, allocations: 47.16 kB / 1.105 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of SimCode: time 6.32e-07/0.8269, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.01007/0.837, allocations: 4.757 MB / 1.11 GB, free: 10.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches