Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001594/0.001594, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 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.001788/0.001788, allocations: 213 kB / 23 MB, free: 4.969 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 66.03 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00693/0.3264, allocations: 4.52 MB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.3297, allocations: 2.465 MB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.3299, allocations: 0 / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3302, allocations: 47.69 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.3305, allocations: 91.36 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3319, allocations: 0.5274 MB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.3322, allocations: 239.9 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.3322, allocations: 9.75 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3325, allocations: 119.6 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.3326, allocations: 91.59 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3326, allocations: 8 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006612/0.3333, allocations: 319.4 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.3334, allocations: 39.89 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.3335, allocations: 75.7 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.3341, allocations: 350.9 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3341, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3341, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3341, allocations: 0 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007914/0.3349, allocations: 449.4 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3349, allocations: 12.03 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3351, allocations: 24.78 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3354, allocations: 154.3 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3354, allocations: 16.7 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3354, allocations: 16.38 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.336, allocations: 483.5 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.336, allocations: 4 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.336, allocations: 7.984 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.336, allocations: 11.94 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.3365, allocations: 419.5 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3376, allocations: 0.778 MB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3379, allocations: 148.1 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.338, allocations: 52.89 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/0.3388, allocations: 459.8 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.3388, allocations: 38.56 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3388, allocations: 0 / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003476/0.3392, allocations: 143.6 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.3392, allocations: 59.41 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3393, allocations: 159.7 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.3394, allocations: 29.7 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.3395, allocations: 148.1 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3395, allocations: 59.52 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.3396, allocations: 45.7 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3397, allocations: 330.8 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.3398, allocations: 43.91 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3399, allocations: 129.7 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3402, allocations: 203.5 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3402, allocations: 0 / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003542/0.3406, allocations: 213.2 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3406, allocations: 8.469 kB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3406, allocations: 11.94 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3406, allocations: 4 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.3408, allocations: 63.91 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3408, allocations: 7.984 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3409, allocations: 31.72 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3409, allocations: 19.94 kB / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001145/0.3411, allocations: 130.2 kB / 1.34 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.3411, allocations: 15.91 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.3414, allocations: 146.3 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3414, allocations: 0 / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3414, allocations: 4 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.3415, allocations: 39.75 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.3415, allocations: 4 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3417, allocations: 19.92 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3418, allocations: 11.98 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002866/0.342, allocations: 207.2 kB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002814/0.3423, allocations: 286.6 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.964e-05/0.3424, allocations: 42.36 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.3425, allocations: 104.9 kB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of Backend: time 2.9e-07/0.3425, allocations: 4 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007883/0.3433, allocations: 337.7 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007717/0.344, allocations: 0.7715 MB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of Templates: time 0.009152/0.3532, allocations: 4.867 MB / 1.347 GB, free: 11.96 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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.623119408002822]