Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001209/0.001209, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00208/0.00208, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.624/1.624, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.975/2.975, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_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_12_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.002077/0.002077, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324/1.326, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002333/1.328, allocations: 1.268 MB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003153/1.332, allocations: 2.761 MB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/1.332, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/1.332, allocations: 3.938 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/1.332, allocations: 13.88 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/1.332, allocations: 103.1 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/1.332, allocations: 38.94 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/1.332, allocations: 6.531 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/1.333, allocations: 180.2 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/1.333, allocations: 17.33 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/1.333, allocations: 2.688 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/1.333, allocations: 59.08 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/1.333, allocations: 10.81 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/1.333, allocations: 16.7 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/1.333, allocations: 53.31 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.333, allocations: 6.625 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/1.333, allocations: 0 / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.443e-06/1.333, allocations: 0 / 1.158 GB, free: 30.37 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.000377/1.334, allocations: 269.8 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.334, allocations: 10.78 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/1.334, allocations: 7.375 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/1.334, allocations: 114 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/1.334, allocations: 7.469 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/1.334, allocations: 3.188 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/1.334, allocations: 138.8 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.334, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.334, allocations: 0 / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.334, allocations: 2.562 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/1.334, allocations: 14.09 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/1.334, allocations: 120.7 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/1.334, allocations: 50.61 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/1.334, allocations: 20.98 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005387/1.335, allocations: 242.8 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/1.335, allocations: 37.25 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/1.335, allocations: 0 / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0005199/1.335, allocations: 227.2 kB / 1.16 GB, free: 29.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/1.335, allocations: 54.19 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/1.335, allocations: 96.69 kB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.335, allocations: 32.52 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/1.336, allocations: 87.56 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/1.336, allocations: 30.56 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/1.336, allocations: 33.75 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/1.336, allocations: 317.6 kB / 1.16 GB, free: 28.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/1.336, allocations: 13.69 kB / 1.16 GB, free: 28.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/1.336, allocations: 57.97 kB / 1.16 GB, free: 28.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/1.336, allocations: 72.47 kB / 1.16 GB, free: 28.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/1.336, allocations: 0 / 1.16 GB, free: 28.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001134/1.336, allocations: 93.53 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.336, allocations: 5.125 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.336, allocations: 2.562 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.336, allocations: 0 / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/1.336, allocations: 25.92 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.336, allocations: 0 / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/1.336, allocations: 6.781 kB / 1.16 GB, free: 28.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/1.336, allocations: 5.656 kB / 1.16 GB, free: 28.36 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.331e-05/1.336, allocations: 116.2 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/1.336, allocations: 10.86 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/1.336, allocations: 11.41 kB / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.336, allocations: 2.562 kB / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.336, allocations: 0 / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.336, allocations: 4 kB / 1.161 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/1.336, allocations: 120 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.336, allocations: 0 / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/1.336, allocations: 20.52 kB / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/1.336, allocations: 0 / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/1.336, allocations: 6.344 kB / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.336, allocations: 0 / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.336, allocations: 4 kB / 1.161 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/1.337, allocations: 176.9 kB / 1.161 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/1.337, allocations: 10.2 kB / 1.161 GB, free: 27.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/1.337, allocations: 6.531 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.337, allocations: 3.938 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/1.337, allocations: 5.875 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/1.337, allocations: 7 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.258e-05/1.337, allocations: 81.41 kB / 1.161 GB, free: 27.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.337, allocations: 0 / 1.161 GB, free: 27.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002321/1.337, allocations: 18.91 kB / 1.161 GB, free: 27.82 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 9.416e-05/1.337, allocations: 100.5 kB / 1.161 GB, free: 27.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.337, allocations: 49.72 kB / 1.161 GB, free: 27.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.337, allocations: 0 / 1.161 GB, free: 27.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/1.337, allocations: 14.44 kB / 1.161 GB, free: 27.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/1.337, allocations: 9.375 kB / 1.161 GB, free: 27.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/1.338, allocations: 333.7 kB / 1.161 GB, free: 27.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/1.338, allocations: 67.38 kB / 1.162 GB, free: 27.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.262e-05/1.338, allocations: 10.25 kB / 1.162 GB, free: 27.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/1.338, allocations: 11.31 kB / 1.162 GB, free: 27.35 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.338, allocations: 0 / 1.162 GB, free: 27.35 MB / 1.076 GB Notification: Performance of Templates: time 0.002991/1.341, allocations: 0.6206 MB / 1.162 GB, free: 27.25 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.895964050898328]