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.001514/0.001514, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002111/0.002111, allocations: 222.6 kB / 23 MB, free: 4.91 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.13/3.13, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.002152/0.002152, allocations: 62.41 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3968, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01278/0.4096, allocations: 4.522 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006512/0.4161, allocations: 2.461 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.4163, allocations: 3.938 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.4167, allocations: 47.69 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.4173, allocations: 87.42 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.4199, allocations: 0.5361 MB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000508/0.4205, allocations: 223.9 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.532e-05/0.4205, allocations: 17.73 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.4209, allocations: 123.5 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.4212, allocations: 79.66 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.4212, allocations: 8 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4224, allocations: 315.4 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4225, allocations: 35.89 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.4227, allocations: 75.72 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4238, allocations: 358.8 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4238, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4238, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.4238, allocations: 0 / 1.335 GB, free: 8.965 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.001299/0.4251, allocations: 449.4 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4251, allocations: 12.03 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.4254, allocations: 20.84 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.4258, allocations: 154.3 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.4259, allocations: 8.703 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.4259, allocations: 20.38 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.4268, allocations: 0.4954 MB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.4269, allocations: 0 / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.4269, allocations: 12 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.4269, allocations: 4 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009878/0.4279, allocations: 423.5 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.4299, allocations: 0.774 MB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.4305, allocations: 147 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4307, allocations: 60.88 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.432, allocations: 451.9 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.384e-05/0.4321, allocations: 34.56 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.504e-06/0.4321, allocations: 0 / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005863/0.4327, allocations: 145.5 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.4328, allocations: 59.39 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.433, allocations: 164.8 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.4331, allocations: 25.7 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.4333, allocations: 148.1 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.4333, allocations: 55.53 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4334, allocations: 53.66 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4337, allocations: 322.8 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4338, allocations: 35.97 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.4341, allocations: 141.7 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.4346, allocations: 195.8 kB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4346, allocations: 0 / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006631/0.4352, allocations: 221.1 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4353, allocations: 6.5 kB / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4353, allocations: 8 kB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.4353, allocations: 8 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.4357, allocations: 60.38 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.4357, allocations: 11.94 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.4359, allocations: 31.72 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4359, allocations: 12 kB / 1.34 GB, free: 3.898 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.0001733/0.4361, allocations: 134.3 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.4362, allocations: 15.91 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.4367, allocations: 152.8 kB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.4367, allocations: 4 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4368, allocations: 3.938 kB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4368, allocations: 0 / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.4371, allocations: 161.2 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4371, allocations: 0 / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4373, allocations: 23.98 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4374, allocations: 4 kB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4374, allocations: 7.984 kB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4374, allocations: 0 / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4374, allocations: 0 / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.4378, allocations: 219.4 kB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.4379, allocations: 35.8 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.4379, allocations: 3.984 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.4383, allocations: 16 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.4383, allocations: 11.97 kB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.4384, allocations: 15.94 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001325/0.4385, allocations: 115.3 kB / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4385, allocations: 0 / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007094/0.4392, allocations: 75.88 kB / 1.341 GB, free: 2.859 MB / 1.029 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 (15): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0005017/0.4397, allocations: 194.8 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.4401, allocations: 107.8 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4401, allocations: 0 / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.4403, allocations: 46.73 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.4409, allocations: 40.91 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.4421, allocations: 381.7 kB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.4423, allocations: 106.9 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.74e-05/0.4424, allocations: 27.44 kB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4424, allocations: 0 / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of Templates: time 0.01007/0.4524, allocations: 3.124 MB / 1.344 GB, free: 14.8 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: 11.58032285515219]