Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007571/0.007571, allocations: 97.42 kB / 15.73 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 192.6 kB / 16.68 MB, free: 5.523 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.88 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9184, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006548/0.925, allocations: 4.436 MB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.9279, allocations: 2.683 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.928, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.9284, allocations: 51.67 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.9287, allocations: 95.36 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.93, allocations: 497.9 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.9303, allocations: 239.9 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.9304, allocations: 13.56 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009505/0.9313, allocations: 403.9 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.9315, allocations: 99.58 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.9315, allocations: 4 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.9326, allocations: 0.4912 MB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.9327, allocations: 35.89 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.9328, allocations: 79.64 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.9334, allocations: 351.8 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9334, allocations: 0 / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9334, allocations: 3.938 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9334, allocations: 0 / 1.176 GB, free: 10.5 MB / 0.9044 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.0008234/0.9343, allocations: 0.5102 MB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.9343, allocations: 12.92 kB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.9345, allocations: 24.84 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.9347, allocations: 212.2 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.9347, allocations: 12.7 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.9347, allocations: 12.38 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.9351, allocations: 249.1 kB / 1.177 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.9351, allocations: 7.938 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.9352, allocations: 12 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.9352, allocations: 8 kB / 1.177 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.9357, allocations: 423.5 kB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.9369, allocations: 1.012 MB / 1.178 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.9372, allocations: 165.7 kB / 1.178 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.9373, allocations: 64.88 kB / 1.178 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.9389, allocations: 1.825 MB / 1.18 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.939, allocations: 34.55 kB / 1.18 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.939, allocations: 0 / 1.18 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003961/0.9394, allocations: 149.5 kB / 1.18 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.9395, allocations: 55.34 kB / 1.18 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.9396, allocations: 175.2 kB / 1.181 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.9397, allocations: 29.7 kB / 1.181 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.9398, allocations: 136.2 kB / 1.181 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.9398, allocations: 63.45 kB / 1.181 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.9399, allocations: 53.7 kB / 1.181 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.94, allocations: 318.8 kB / 1.181 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.9401, allocations: 35.98 kB / 1.181 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.9403, allocations: 145.7 kB / 1.181 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.9405, allocations: 204.7 kB / 1.182 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9405, allocations: 0 / 1.182 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003211/0.9408, allocations: 213.2 kB / 1.182 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9409, allocations: 8 kB / 1.182 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.9409, allocations: 7.984 kB / 1.182 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9409, allocations: 4 kB / 1.182 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.9411, allocations: 51.86 kB / 1.182 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.9411, allocations: 11.94 kB / 1.182 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.9412, allocations: 28.25 kB / 1.182 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.9413, allocations: 16 kB / 1.182 GB, free: 3.531 MB / 0.9044 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.0001097/0.9414, allocations: 141.6 kB / 1.182 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.9414, allocations: 15.91 kB / 1.182 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.9417, allocations: 150.9 kB / 1.182 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.9418, allocations: 7.938 kB / 1.182 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9418, allocations: 0 / 1.182 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.9418, allocations: 7.969 kB / 1.182 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.942, allocations: 213.5 kB / 1.182 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.942, allocations: 0 / 1.182 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.9421, allocations: 31.98 kB / 1.182 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9421, allocations: 0 / 1.182 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.9422, allocations: 0 / 1.182 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.9422, allocations: 7.938 kB / 1.182 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9422, allocations: 0 / 1.182 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.9425, allocations: 220.5 kB / 1.183 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.9426, allocations: 112.9 kB / 1.183 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.9426, allocations: 4 kB / 1.183 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.9428, allocations: 23.92 kB / 1.183 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.9428, allocations: 11.98 kB / 1.183 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.9429, allocations: 4 kB / 1.183 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001045/0.943, allocations: 124.9 kB / 1.183 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.943, allocations: 0 / 1.183 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004116/0.9434, allocations: 83.8 kB / 1.183 GB, free: 2.293 MB / 0.9044 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.0003345/0.9437, allocations: 186.9 kB / 1.183 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.944, allocations: 114.4 kB / 1.183 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.944, allocations: 4 kB / 1.183 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.9441, allocations: 47.86 kB / 1.183 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.9445, allocations: 56.83 kB / 1.183 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.9454, allocations: 338.8 kB / 1.184 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.9458, allocations: 0.7128 MB / 1.184 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.9459, allocations: 45.73 kB / 1.184 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.946, allocations: 27.42 kB / 1.185 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.946, allocations: 0 / 1.185 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of Templates: time 0.007272/0.9533, allocations: 3.368 MB / 1.188 GB, free: 13.39 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches