Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001917/0.001917, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002459/0.002459, allocations: 156.7 kB / 23.01 MB, free: 4.945 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.556/1.556, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.037/3.037, allocations: 394.2 MB / 0.6387 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [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.002239/0.002239, allocations: 63.91 kB / 1.009 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9304, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002988/0.9334, allocations: 1.279 MB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.9374, allocations: 2.773 MB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.9374, allocations: 0 / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.9374, allocations: 1.031 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.9375, allocations: 6.578 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.938, allocations: 104 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.9381, allocations: 34.88 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.9382, allocations: 7.344 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.9388, allocations: 189.1 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.9388, allocations: 9.688 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.9388, allocations: 2.375 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.939, allocations: 57.02 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.939, allocations: 15.53 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.939, allocations: 12.05 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.9392, allocations: 60.72 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9392, allocations: 0 / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9392, allocations: 0 / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9392, allocations: 5.25 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003732/0.9396, allocations: 265.6 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9396, allocations: 9.562 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.9397, allocations: 7.859 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/0.9397, allocations: 113.5 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.9397, allocations: 5.781 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.9398, allocations: 4.844 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.9399, allocations: 134.6 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9399, allocations: 0.5625 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.94, allocations: 5.219 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.94, allocations: 5.125 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.94, allocations: 23.72 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.9402, allocations: 106.4 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.9403, allocations: 56.06 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.9403, allocations: 12.22 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/0.9408, allocations: 246.8 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.9408, allocations: 35.91 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.9408, allocations: 0 / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0005157/0.9413, allocations: 226.2 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.9414, allocations: 55.34 kB / 1.192 GB, free: 11.99 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.35e-05/0.9414, allocations: 100.1 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.9414, allocations: 27.14 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.9414, allocations: 86.89 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.9415, allocations: 28.42 kB / 1.192 GB, free: 11.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.9415, allocations: 28.66 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.9415, allocations: 317.7 kB / 1.193 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.9416, allocations: 13.78 kB / 1.193 GB, free: 11.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.9416, allocations: 54.23 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.9417, allocations: 74.2 kB / 1.193 GB, free: 11.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.9417, allocations: 0 / 1.193 GB, free: 11.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00013/0.9418, allocations: 95.3 kB / 1.193 GB, free: 11.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.9418, allocations: 5.516 kB / 1.193 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9418, allocations: 5.344 kB / 1.193 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9419, allocations: 2.875 kB / 1.193 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.9419, allocations: 34.08 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9419, allocations: 3.203 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.942, allocations: 2.25 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.942, allocations: 3.875 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.624e-05/0.942, allocations: 122.1 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.9421, allocations: 3.156 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.9421, allocations: 8.828 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9421, allocations: 1.5 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9421, allocations: 0.5156 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.9421, allocations: 1.75 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.9423, allocations: 128.7 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9423, allocations: 0 / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.9424, allocations: 15.48 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9424, allocations: 1.219 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.9424, allocations: 4.938 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9424, allocations: 1.094 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9424, allocations: 80 / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.9425, allocations: 194 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.9426, allocations: 4.5 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.9426, allocations: 1.891 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.9427, allocations: 7.328 kB / 1.194 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.9427, allocations: 7.812 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.9427, allocations: 2.406 kB / 1.194 GB, free: 10.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.007e-05/0.9427, allocations: 79.81 kB / 1.194 GB, free: 10.69 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9427, allocations: 0 / 1.194 GB, free: 10.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002427/0.943, allocations: 14.66 kB / 1.194 GB, free: 10.68 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 8.998e-05/0.9431, allocations: 97.19 kB / 1.194 GB, free: 10.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.9432, allocations: 48.83 kB / 1.194 GB, free: 10.58 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9432, allocations: 4.562 kB / 1.194 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.9432, allocations: 15.59 kB / 1.194 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.9435, allocations: 9.312 kB / 1.194 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.944, allocations: 324.6 kB / 1.194 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.9441, allocations: 71.45 kB / 1.194 GB, free: 10.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.9441, allocations: 8.625 kB / 1.194 GB, free: 10.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.9441, allocations: 16.69 kB / 1.194 GB, free: 10.21 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.9441, allocations: 0 / 1.194 GB, free: 10.21 MB / 1.076 GB Notification: Performance of Templates: time 0.003343/0.9475, allocations: 0.6163 MB / 1.195 GB, free: 10.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.147088401019573]