Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001189/0.001189, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001195/0.001195, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.62 kB / 0.9246 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8973/0.8992, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.003276/0.9025, allocations: 1.743 MB / 1.085 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.9042, allocations: 1.165 MB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.9044, allocations: 7.469 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.9046, allocations: 50.2 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.9048, allocations: 51.47 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.9052, allocations: 192.4 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005656/0.9058, allocations: 0.4998 MB / 1.087 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005245/0.9063, allocations: 280.3 kB / 1.087 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.9066, allocations: 201.1 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.9069, allocations: 236.8 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.907, allocations: 65.62 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.06e-05/0.9071, allocations: 57.81 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.9073, allocations: 124.3 kB / 1.088 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.9075, allocations: 242.6 kB / 1.088 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.9083, allocations: 0.6665 MB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9083, allocations: 1.406 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9083, allocations: 0 / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.9083, allocations: 0 / 1.088 GB, free: 14.19 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001457/0.9098, allocations: 0.7637 MB / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.9098, allocations: 10.06 kB / 1.089 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.9099, allocations: 57.56 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.9112, allocations: 488.9 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.9112, allocations: 37.16 kB / 1.09 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.9113, allocations: 47 kB / 1.09 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.9125, allocations: 0.5003 MB / 1.09 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.9125, allocations: 5.438 kB / 1.09 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.9126, allocations: 22.91 kB / 1.09 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.9126, allocations: 11.66 kB / 1.09 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.914, allocations: 425.7 kB / 1.091 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.9159, allocations: 1.251 MB / 1.092 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9169, allocations: 412.4 kB / 1.092 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006457/0.9176, allocations: 226.3 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.9176, allocations: 5.062 kB / 1.093 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.9177, allocations: 38.25 kB / 1.093 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 2.134e-06/0.9177, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.002003/0.9197, allocations: 0.569 MB / 1.093 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.9198, allocations: 116 kB / 1.093 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.9201, allocations: 284.1 kB / 1.093 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.9202, allocations: 33.3 kB / 1.094 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.9204, allocations: 217.4 kB / 1.094 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.9205, allocations: 118.9 kB / 1.094 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.9206, allocations: 102.2 kB / 1.094 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.9208, allocations: 340.4 kB / 1.094 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.9214, allocations: 160.5 kB / 1.094 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.9221, allocations: 254.8 kB / 1.095 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.9233, allocations: 400.2 kB / 1.095 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9233, allocations: 1.812 kB / 1.095 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001515/0.9249, allocations: 462.6 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.9249, allocations: 5.719 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.9249, allocations: 2.219 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.9249, allocations: 5.688 kB / 1.096 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.9255, allocations: 109.1 kB / 1.096 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.9255, allocations: 9.781 kB / 1.096 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.9258, allocations: 60.17 kB / 1.096 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.9259, allocations: 21.86 kB / 1.096 GB, free: 10.02 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.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 (49): * Single equations (assignments): 49 * 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.0002516/0.9261, allocations: 176 kB / 1.096 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9262, allocations: 31.75 kB / 1.096 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.9264, allocations: 41.16 kB / 1.096 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.9264, allocations: 9.5 kB / 1.096 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.9264, allocations: 7.938 kB / 1.096 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9264, allocations: 3.484 kB / 1.096 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.9272, allocations: 460.2 kB / 1.096 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.9272, allocations: 1.375 kB / 1.096 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.9276, allocations: 87.62 kB / 1.096 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.9276, allocations: 2.938 kB / 1.096 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.9277, allocations: 12.05 kB / 1.096 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.9277, allocations: 5.906 kB / 1.096 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.9277, allocations: 1.766 kB / 1.096 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.9291, allocations: 0.6662 MB / 1.097 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.9292, allocations: 108 kB / 1.097 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.9292, allocations: 7.484 kB / 1.097 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.9296, allocations: 39.42 kB / 1.097 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.9298, allocations: 59.55 kB / 1.097 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.9298, allocations: 14.84 kB / 1.097 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001983/0.93, allocations: 181.7 kB / 1.098 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.93, allocations: 0 / 1.098 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004731/0.9305, allocations: 91.25 kB / 1.098 GB, free: 8.773 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: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.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 (41): * Single equations (assignments): 41 * 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.0001713/0.9307, allocations: 126.7 kB / 1.098 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.932, allocations: 436.7 kB / 1.098 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.932, allocations: 5.156 kB / 1.098 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.9327, allocations: 221.4 kB / 1.098 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.9333, allocations: 54.97 kB / 1.098 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.9348, allocations: 0.7192 MB / 1.099 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.9353, allocations: 0.8139 MB / 1.1 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.9354, allocations: 45.75 kB / 1.1 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.9354, allocations: 0 / 1.1 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of Templates: time 0.00973/0.9452, allocations: 4.846 MB / 1.105 GB, free: 6.797 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches