Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007861/0.0007861, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007828/0.0007828, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8678/0.8678, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.621/1.621, 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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.835e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001626/0.001654, allocations: 1.274 MB / 0.9529 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.004279, allocations: 2.764 MB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.00431, allocations: 0 / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.00433, allocations: 0 / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.004374, allocations: 7.922 kB / 0.9556 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.004855, allocations: 107.4 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.004933, allocations: 39.83 kB / 0.9558 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.00497, allocations: 4 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.005404, allocations: 183.4 kB / 0.956 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.005439, allocations: 15.98 kB / 0.956 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.005451, allocations: 0 / 0.956 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005564, allocations: 67.75 kB / 0.956 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.005576, allocations: 7.938 kB / 0.956 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.005601, allocations: 19.97 kB / 0.9561 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.005759, allocations: 55.86 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.005763, allocations: 4 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.033e-06/0.005765, allocations: 0 / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.005769, allocations: 3.938 kB / 0.9561 GB, free: 14.44 MB / 0.9167 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.0003571/0.006126, allocations: 278.2 kB / 0.9564 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.006167, allocations: 8.031 kB / 0.9564 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.006206, allocations: 4.938 kB / 0.9564 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.945e-05/0.006286, allocations: 105.8 kB / 0.9565 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006298, allocations: 8.375 kB / 0.9565 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.00632, allocations: 8.328 kB / 0.9565 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.006456, allocations: 135.3 kB / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006465, allocations: 192 / 0.9566 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006476, allocations: 4.125 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006482, allocations: 4 kB / 0.9566 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.006524, allocations: 19.97 kB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.006643, allocations: 105.3 kB / 0.9568 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.006719, allocations: 50.55 kB / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.006742, allocations: 12.84 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/0.007278, allocations: 262 kB / 0.9571 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.007306, allocations: 38.56 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.007307, allocations: 0 / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0006527/0.00796, allocations: 217.2 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.008006, allocations: 55.39 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.00809, allocations: 97.86 kB / 0.9575 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.008108, allocations: 29.7 kB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.008159, allocations: 88.03 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.008178, allocations: 27.8 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.008221, allocations: 29.72 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.008326, allocations: 314.8 kB / 0.9579 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.008352, allocations: 15.94 kB / 0.958 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.008406, allocations: 61.08 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.061e-05/0.008486, allocations: 73.02 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.008488, allocations: 0 / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001215/0.008609, allocations: 101.5 kB / 0.9582 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.008631, allocations: 4 kB / 0.9582 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.008638, allocations: 448 / 0.9582 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.008657, allocations: 4 kB / 0.9582 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.008725, allocations: 16 kB / 0.9582 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.008735, allocations: 7.938 kB / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.008762, allocations: 11.98 kB / 0.9582 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.00877, allocations: 4 kB / 0.9582 GB, free: 12.01 MB / 0.9167 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 8.589e-05/0.008856, allocations: 121.7 kB / 0.9583 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.008876, allocations: 8.125 kB / 0.9583 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.008905, allocations: 8.125 kB / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.008909, allocations: 3.938 kB / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.008915, allocations: 0 / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.00892, allocations: 0 / 0.9584 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.009104, allocations: 125.3 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009106, allocations: 0 / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.009155, allocations: 19.98 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009157, allocations: 288 / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.009164, allocations: 4 kB / 0.9585 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009165, allocations: 3.938 kB / 0.9585 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009166, allocations: 4 kB / 0.9585 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.009318, allocations: 175.4 kB / 0.9587 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.009344, allocations: 8 kB / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.009355, allocations: 0 / 0.9587 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.009414, allocations: 4.031 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.00943, allocations: 4 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.009435, allocations: 0 / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.009462, allocations: 87.27 kB / 0.9588 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009462, allocations: 3.938 kB / 0.9588 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001614/0.009623, allocations: 12 kB / 0.9588 GB, free: 11.38 MB / 0.9167 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 0.0001243/0.009747, allocations: 115.1 kB / 0.9589 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.009849, allocations: 35.92 kB / 0.9589 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.009853, allocations: 4 kB / 0.9589 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.009868, allocations: 15.98 kB / 0.959 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01012, allocations: 11.94 kB / 0.959 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.01055, allocations: 275.1 kB / 0.9592 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.01059, allocations: 63.34 kB / 0.9593 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.01062, allocations: 12.5 kB / 0.9593 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of SimCode: time 6.02e-07/0.01062, allocations: 7.938 kB / 0.9593 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of Templates: time 0.001769/0.01239, allocations: 0.8085 MB / 0.9601 GB, free: 9.98 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.444478573277593]