Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 191.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.732 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 68.03 kB / 1.061 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7264, allocations: 160.7 MB / 1.218 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002793/0.7292, allocations: 1.569 MB / 1.22 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.7305, allocations: 0.7762 MB / 1.221 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.7305, allocations: 0 / 1.221 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.7306, allocations: 4.875 kB / 1.221 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.7306, allocations: 12.92 kB / 1.221 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.731, allocations: 84.19 kB / 1.221 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.7311, allocations: 57 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.7312, allocations: 7.375 kB / 1.221 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.7313, allocations: 26.67 kB / 1.221 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.7314, allocations: 28.88 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.7314, allocations: 3.312 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.7315, allocations: 63.75 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.7316, allocations: 8.906 kB / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.7316, allocations: 31.19 kB / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.7318, allocations: 98.75 kB / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.7318, allocations: 0 / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7318, allocations: 1.062 kB / 1.221 GB, free: 2.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7318, allocations: 4 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005288/0.7323, allocations: 378.4 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.7324, allocations: 10.16 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.7327, allocations: 25.17 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7329, allocations: 176.3 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7329, allocations: 5.656 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.7329, allocations: 5.688 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.7331, allocations: 80.41 kB / 1.222 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7332, allocations: 3.938 kB / 1.222 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.7332, allocations: 5.062 kB / 1.222 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7332, allocations: 1.281 kB / 1.222 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.7335, allocations: 62.2 kB / 1.222 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.734, allocations: 325 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.7343, allocations: 67.89 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.7344, allocations: 42.48 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.7344, allocations: 1.094 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.7345, allocations: 34.56 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.7345, allocations: 1.094 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000574/0.735, allocations: 143 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7351, allocations: 51.41 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.7352, allocations: 116.3 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7352, allocations: 26.86 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.7353, allocations: 90.31 kB / 1.223 GB, free: 452 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.7353, allocations: 9.109 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.7354, allocations: 18.23 kB / 1.223 GB, free: 424 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7355, allocations: 325.2 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7357, allocations: 32.34 kB / 1.223 GB, free: 76 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.7358, allocations: 34.22 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.7361, allocations: 68.89 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7361, allocations: 3.938 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003634/0.7364, allocations: 111.3 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7364, allocations: 7.281 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.7364, allocations: 1.312 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7365, allocations: 0 / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.7366, allocations: 18.33 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7366, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.7367, allocations: 8.172 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.7367, allocations: 6.688 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.216e-05/0.7368, allocations: 119.7 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.7368, allocations: 7.203 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.7369, allocations: 10.47 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7369, allocations: 4 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7369, allocations: 1.094 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7369, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.7371, allocations: 195 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7371, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.7373, allocations: 18.75 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7373, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.7373, allocations: 2.156 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7373, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7373, allocations: 9.016 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.7377, allocations: 204.6 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.7377, allocations: 79.3 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.7377, allocations: 5.234 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.7379, allocations: 3.312 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.7379, allocations: 14.2 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.7379, allocations: 2.156 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.738, allocations: 96.42 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.738, allocations: 0 / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002782/0.7383, allocations: 25.28 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * 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.0001963/0.7385, allocations: 128.7 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.7389, allocations: 83.05 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7389, allocations: 0 / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.739, allocations: 36.97 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.7393, allocations: 10.22 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.7398, allocations: 170.4 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.7401, allocations: 0.6812 MB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.255e-05/0.7401, allocations: 16.61 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.7402, allocations: 15.86 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.7402, allocations: 0 / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of Templates: time 0.003717/0.7439, allocations: 1.098 MB / 1.226 GB, free: 13.56 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.15641552535817]