Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008068/0.0008068, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007955/0.0007955, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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.8749/0.8749, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.9518 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.981e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003869/0.003889, allocations: 4.494 MB / 0.9561 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.005682, allocations: 2.461 MB / 0.9585 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.005748, allocations: 3.938 kB / 0.9586 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.005981, allocations: 47.69 kB / 0.9586 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.006192, allocations: 103.3 kB / 0.9587 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.006846, allocations: 0.5349 MB / 0.9592 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.007028, allocations: 239.8 kB / 0.9594 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.007067, allocations: 17.73 kB / 0.9595 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.007251, allocations: 151.6 kB / 0.9596 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.007349, allocations: 83.75 kB / 0.9597 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.00737, allocations: 8 kB / 0.9597 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.007719, allocations: 315.1 kB / 0.96 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.007783, allocations: 39.83 kB / 0.96 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.007835, allocations: 71.88 kB / 0.9601 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.008218, allocations: 374.9 kB / 0.9605 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008221, allocations: 3.938 kB / 0.9605 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008222, allocations: 0 / 0.9605 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.008227, allocations: 4 kB / 0.9605 GB, free: 8.871 MB / 0.8698 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.0005495/0.008776, allocations: 445.5 kB / 0.9609 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.008811, allocations: 8.031 kB / 0.9609 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.008909, allocations: 24.8 kB / 0.9609 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.009089, allocations: 161.5 kB / 0.9611 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.009101, allocations: 8.703 kB / 0.9611 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.009118, allocations: 16.38 kB / 0.9611 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.009448, allocations: 488 kB / 0.9616 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.009458, allocations: 4.125 kB / 0.9616 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.009479, allocations: 16.12 kB / 0.9616 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.009499, allocations: 4 kB / 0.9616 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.009812, allocations: 435.3 kB / 0.962 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.01063, allocations: 0.7624 MB / 0.9628 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.01087, allocations: 143.5 kB / 0.9629 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.01093, allocations: 52.89 kB / 0.9629 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.01137, allocations: 463.8 kB / 0.9634 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.01138, allocations: 30.56 kB / 0.9634 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.01138, allocations: 0 / 0.9634 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002402/0.01162, allocations: 152.5 kB / 0.9636 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.01165, allocations: 55.34 kB / 0.9636 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.01175, allocations: 161.1 kB / 0.9638 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.01176, allocations: 25.7 kB / 0.9638 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.01182, allocations: 152 kB / 0.9639 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.01185, allocations: 51.59 kB / 0.964 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.01189, allocations: 53.66 kB / 0.964 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.01197, allocations: 330.8 kB / 0.9643 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.01202, allocations: 31.98 kB / 0.9644 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.0121, allocations: 141.7 kB / 0.9645 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.01226, allocations: 197.4 kB / 0.9647 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01226, allocations: 0 / 0.9647 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002057/0.01247, allocations: 216.3 kB / 0.9649 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01248, allocations: 7.938 kB / 0.9649 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01248, allocations: 4 kB / 0.9649 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.0125, allocations: 8 kB / 0.9649 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.0126, allocations: 59.91 kB / 0.965 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01261, allocations: 7.938 kB / 0.965 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.01267, allocations: 27.78 kB / 0.965 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01269, allocations: 16.36 kB / 0.965 GB, free: 3.824 MB / 0.8698 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 7.433e-05/0.01276, allocations: 141.7 kB / 0.9652 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.01279, allocations: 15.91 kB / 0.9652 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.01298, allocations: 150.2 kB / 0.9653 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.01299, allocations: 0 / 0.9653 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01299, allocations: 0 / 0.9653 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.013, allocations: 3.984 kB / 0.9653 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.01312, allocations: 157.2 kB / 0.9655 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01312, allocations: 0 / 0.9655 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.01319, allocations: 39.86 kB / 0.9655 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.01319, allocations: 4 kB / 0.9655 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.0132, allocations: 4 kB / 0.9655 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.0132, allocations: 4 kB / 0.9655 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0132, allocations: 3.938 kB / 0.9655 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.01336, allocations: 223.3 kB / 0.9657 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.0134, allocations: 27.91 kB / 0.9658 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.01341, allocations: 4 kB / 0.9658 GB, free: 3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.01351, allocations: 15.98 kB / 0.9658 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.01353, allocations: 11.92 kB / 0.9658 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.01354, allocations: 8 kB / 0.9658 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.01359, allocations: 117.7 kB / 0.9659 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01359, allocations: 0 / 0.9659 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002456/0.01384, allocations: 87.75 kB / 0.966 GB, free: 2.766 MB / 0.8698 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.0002182/0.01405, allocations: 175.1 kB / 0.9662 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.01422, allocations: 127 kB / 0.9663 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01422, allocations: 0 / 0.9663 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.01426, allocations: 43.92 kB / 0.9663 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.0145, allocations: 36.78 kB / 0.9664 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.01499, allocations: 332 kB / 0.9667 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.586e-05/0.01505, allocations: 102.9 kB / 0.9668 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.01509, allocations: 28.5 kB / 0.9668 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.01509, allocations: 0 / 0.9668 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of Templates: time 0.003375/0.01847, allocations: 3.174 MB / 0.9699 GB, free: 14.73 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.509290133602917]