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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001203/0.001203, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 185.7 kB / 16.92 MB, free: 6.691 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.000394, allocations: 8 kB / 0.8167 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7842, allocations: 142.4 MB / 0.9558 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.001893/0.7861, allocations: 1.388 MB / 0.9571 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7875, allocations: 1.132 MB / 0.9582 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.7877, allocations: 6.312 kB / 0.9582 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.551e-05/0.7878, allocations: 31.64 kB / 0.9583 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.7879, allocations: 32.25 kB / 0.9583 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.7883, allocations: 161.4 kB / 0.9584 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.7886, allocations: 458 kB / 0.9589 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.789, allocations: 260.7 kB / 0.9591 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.7892, allocations: 132.4 kB / 0.9593 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.7894, allocations: 173.1 kB / 0.9594 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.7894, allocations: 13.75 kB / 0.9594 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.7895, allocations: 19.12 kB / 0.9595 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.7895, allocations: 69.31 kB / 0.9595 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.7897, allocations: 201.4 kB / 0.9597 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.79, allocations: 0.5056 MB / 0.9602 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.79, allocations: 0 / 0.9602 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.79, allocations: 0 / 0.9602 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7901, allocations: 0 / 0.9602 GB, free: 4.398 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001148/0.7912, allocations: 0.7036 MB / 0.9609 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7913, allocations: 9.625 kB / 0.9609 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.589e-05/0.7914, allocations: 53.41 kB / 0.961 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.7926, allocations: 0.5249 MB / 0.9615 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.7926, allocations: 38.66 kB / 0.9615 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.7927, allocations: 49.91 kB / 0.9616 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.7938, allocations: 0.5185 MB / 0.9621 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.7939, allocations: 3.938 kB / 0.9621 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.7939, allocations: 19.94 kB / 0.9621 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.7939, allocations: 11.97 kB / 0.9621 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.7954, allocations: 472.6 kB / 0.9625 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.7971, allocations: 1.228 MB / 0.9637 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.7981, allocations: 417.6 kB / 0.9641 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.7988, allocations: 253.5 kB / 0.9644 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.7988, allocations: 8.984 kB / 0.9644 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.7988, allocations: 37.28 kB / 0.9644 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.7988, allocations: 0 / 0.9644 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001952/0.8008, allocations: 0.64 MB / 0.9651 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.8009, allocations: 115.8 kB / 0.9652 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.8012, allocations: 282 kB / 0.9654 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.8012, allocations: 31.7 kB / 0.9655 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.8013, allocations: 219.4 kB / 0.9657 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.8014, allocations: 120.3 kB / 0.9658 GB, free: 432 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.8015, allocations: 60.41 kB / 0.9658 GB, free: 388 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.8016, allocations: 341.9 kB / 0.9662 GB, free: 44 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.8022, allocations: 185.7 kB / 0.9663 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.8029, allocations: 270.9 kB / 0.9666 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.8042, allocations: 451.9 kB / 0.967 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8042, allocations: 0.8438 kB / 0.967 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00151/0.8057, allocations: 0.5013 MB / 0.9675 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.8058, allocations: 7.906 kB / 0.9675 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.8058, allocations: 2.938 kB / 0.9675 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.8058, allocations: 8.031 kB / 0.9675 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.8063, allocations: 118.1 kB / 0.9677 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.8064, allocations: 7.828 kB / 0.9677 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.8068, allocations: 72.48 kB / 0.9677 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.8068, allocations: 15.62 kB / 0.9677 GB, free: 15.21 MB / 0.7325 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.0003432/0.8071, allocations: 179.1 kB / 0.9679 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.8073, allocations: 30.78 kB / 0.9679 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.8074, allocations: 45.67 kB / 0.968 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.8074, allocations: 8.75 kB / 0.968 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.8074, allocations: 5.109 kB / 0.968 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8074, allocations: 5.125 kB / 0.968 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.8081, allocations: 452.4 kB / 0.9684 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8081, allocations: 0.9688 kB / 0.9684 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.8086, allocations: 93.92 kB / 0.9685 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.8086, allocations: 6.062 kB / 0.9685 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.8086, allocations: 11 kB / 0.9685 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.8087, allocations: 6.016 kB / 0.9686 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8087, allocations: 1 kB / 0.9686 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.8101, allocations: 0.7039 MB / 0.9692 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.8102, allocations: 110.3 kB / 0.9693 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.8102, allocations: 10.31 kB / 0.9694 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.8106, allocations: 51.02 kB / 0.9694 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.8108, allocations: 60.7 kB / 0.9695 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.8108, allocations: 16.55 kB / 0.9695 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001768/0.811, allocations: 175.5 kB / 0.9696 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.811, allocations: 1.438 kB / 0.9696 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004919/0.8115, allocations: 88.91 kB / 0.9697 GB, free: 13.74 MB / 0.7325 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.0001752/0.8117, allocations: 125.3 kB / 0.9699 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.8131, allocations: 461.4 kB / 0.9703 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8131, allocations: 4 kB / 0.9703 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.8138, allocations: 246.6 kB / 0.9705 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.8144, allocations: 47.17 kB / 0.9706 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.8158, allocations: 0.8893 MB / 0.9714 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.8163, allocations: 0.8092 MB / 0.9722 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.8164, allocations: 36.2 kB / 0.9723 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.8164, allocations: 1.062 kB / 0.9723 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.008301/0.8248, allocations: 4.662 MB / 0.9768 GB, free: 9.418 MB / 0.7325 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