Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Validation.Tanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9816/0.9816, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.Tanks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.863e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.03612/0.03615, allocations: 43.25 MB / 0.8537 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01265/0.0488, allocations: 11.48 MB / 0.8649 GB, free: 11.24 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.05054, allocations: 75.38 kB / 0.865 GB, free: 11.17 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.05172, allocations: 425 kB / 0.8654 GB, free: 10.75 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.0546, allocations: 1.263 MB / 0.8667 GB, free: 9.48 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.05624, allocations: 0.7792 MB / 0.8674 GB, free: 8.699 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002446/0.05868, allocations: 2.112 MB / 0.8695 GB, free: 6.582 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.05947, allocations: 0.5443 MB / 0.87 GB, free: 6.02 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.06159, allocations: 1.27 MB / 0.8713 GB, free: 4.75 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.06225, allocations: 0.514 MB / 0.8718 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.06232, allocations: 64 kB / 0.8718 GB, free: 4.172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.06335, allocations: 0.522 MB / 0.8723 GB, free: 3.648 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.0635, allocations: 191.2 kB / 0.8725 GB, free: 3.461 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.06375, allocations: 275.4 kB / 0.8728 GB, free: 3.191 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.06501, allocations: 0.9228 MB / 0.8737 GB, free: 2.266 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.06502, allocations: 8 kB / 0.8737 GB, free: 2.258 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.383e-06/0.06502, allocations: 0 / 0.8737 GB, free: 2.258 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.06503, allocations: 3.938 kB / 0.8737 GB, free: 2.254 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001243/0.06627, allocations: 1.102 MB / 0.8748 GB, free: 1.113 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.06632, allocations: 12.03 kB / 0.8748 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.06658, allocations: 132.3 kB / 0.8749 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.0674, allocations: 0.6501 MB / 0.8755 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.06743, allocations: 37.38 kB / 0.8756 GB, free: 268 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.0675, allocations: 52.38 kB / 0.8756 GB, free: 216 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.0681, allocations: 0.527 MB / 0.8761 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.06812, allocations: 11.89 kB / 0.8761 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.06815, allocations: 20 kB / 0.8762 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.06818, allocations: 16 kB / 0.8762 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.06851, allocations: 185.7 kB / 0.8764 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.07034, allocations: 2.326 MB / 0.8786 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.0707, allocations: 152.9 kB / 0.8788 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.0708, allocations: 66.28 kB / 0.8788 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000909/0.0717, allocations: 0.73 MB / 0.8795 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.07173, allocations: 37.39 kB / 0.8796 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/0.07173, allocations: 0 / 0.8796 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003759/0.07211, allocations: 215.5 kB / 0.8798 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.07217, allocations: 55.41 kB / 0.8798 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.07254, allocations: 0.4986 MB / 0.8803 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.07256, allocations: 33.7 kB / 0.8804 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.07276, allocations: 414.5 kB / 0.8808 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.0728, allocations: 79.38 kB / 0.8808 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.092e-05/0.07288, allocations: 79.3 kB / 0.8809 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.07303, allocations: 0.5352 MB / 0.8814 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.0731, allocations: 43.97 kB / 0.8815 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.07334, allocations: 351.8 kB / 0.8818 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.0736, allocations: 311 kB / 0.8821 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.0736, allocations: 0 / 0.8821 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003555/0.07396, allocations: 314.6 kB / 0.8824 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.07397, allocations: 8 kB / 0.8824 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.07398, allocations: 4 kB / 0.8824 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.074, allocations: 8.625 kB / 0.8824 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.07415, allocations: 71.84 kB / 0.8825 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.07416, allocations: 15.94 kB / 0.8825 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.07431, allocations: 43.72 kB / 0.8825 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.07433, allocations: 16 kB / 0.8826 GB, free: 8.641 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001462/0.07448, allocations: 180.5 kB / 0.8827 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.07454, allocations: 59.67 kB / 0.8828 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.07487, allocations: 226.8 kB / 0.883 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.07487, allocations: 4 kB / 0.883 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.07488, allocations: 3.938 kB / 0.883 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002412/0.07512, allocations: 394.5 kB / 0.8834 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.07589, allocations: 0.769 MB / 0.8841 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.0759, allocations: 4 kB / 0.8841 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.07601, allocations: 39.91 kB / 0.8842 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.07602, allocations: 4 kB / 0.8842 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.07603, allocations: 8 kB / 0.8842 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.07604, allocations: 0 / 0.8842 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.07604, allocations: 12.06 kB / 0.8842 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.07645, allocations: 436.2 kB / 0.8846 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.07655, allocations: 83.56 kB / 0.8847 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.07659, allocations: 8 kB / 0.8847 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.07672, allocations: 7.875 kB / 0.8847 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.07675, allocations: 20.02 kB / 0.8847 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.07677, allocations: 15.97 kB / 0.8848 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003098/0.07708, allocations: 330.8 kB / 0.8851 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.07708, allocations: 32 / 0.8851 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005662/0.07764, allocations: 239.3 kB / 0.8853 GB, free: 5.668 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000396/0.07804, allocations: 290.7 kB / 0.8856 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.07832, allocations: 160.5 kB / 0.8857 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.07832, allocations: 0 / 0.8857 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.07842, allocations: 91.83 kB / 0.8858 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.07921, allocations: 302.7 kB / 0.8861 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.08069, allocations: 0.9757 MB / 0.8871 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.952e-05/0.08078, allocations: 153.1 kB / 0.8872 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.08102, allocations: 108.5 kB / 0.8873 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.08109, allocations: 48.48 kB / 0.8874 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of SimCode: time 1.242e-06/0.08109, allocations: 0 / 0.8874 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of Templates: time 0.01399/0.09508, allocations: 11.03 MB / 0.8981 GB, free: 8.707 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.418649109080434]