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.001204/0.001204, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.002807, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001073/0.001073, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002455, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9633/0.9633, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09586/1.059, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.529/2.529, allocations: 446.7 MB / 0.6745 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2504/2.779, allocations: 145.9 MB / 0.817 GB, free: 4.254 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8183 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.879e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001537/0.001556, allocations: 1.353 MB / 0.8196 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.004367, allocations: 3.098 MB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.004389, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-06/0.004398, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.091e-05/0.004419, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.004728, allocations: 99.48 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.004794, allocations: 39.78 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.004828, allocations: 8 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.005167, allocations: 155.5 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.589e-05/0.005202, allocations: 19.91 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.005213, allocations: 0 / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.005327, allocations: 51.89 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.005337, allocations: 4 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.005355, allocations: 11.94 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.005487, allocations: 55.83 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.0055, allocations: 0 / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.51e-07/0.005501, allocations: 0 / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.005512, allocations: 4 kB / 0.823 GB, free: 14.06 MB / 0.8073 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.0003234/0.005835, allocations: 256.5 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.005865, allocations: 8.625 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.005897, allocations: 12.92 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.985e-05/0.005956, allocations: 105.8 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.005965, allocations: 384 / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.005991, allocations: 12.38 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.006091, allocations: 123.3 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.006097, allocations: 192 / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.006106, allocations: 8.125 kB / 0.8235 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006112, allocations: 7.984 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.928e-05/0.006141, allocations: 15.98 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.364e-05/0.006225, allocations: 68.98 kB / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.006287, allocations: 46.5 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.006303, allocations: 12.86 kB / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.006685, allocations: 220.4 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.006706, allocations: 38.5 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.006707, allocations: 0 / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004113/0.007118, allocations: 233.7 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.007143, allocations: 55.41 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.007198, allocations: 106.6 kB / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.007207, allocations: 25.7 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.007245, allocations: 100 kB / 0.8244 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.007258, allocations: 19.8 kB / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.007287, allocations: 25.7 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.007357, allocations: 322.8 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.007366, allocations: 4 kB / 0.8248 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.007398, allocations: 53.12 kB / 0.8248 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.00745, allocations: 65.06 kB / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007451, allocations: 0 / 0.8249 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.679e-05/0.007528, allocations: 81.7 kB / 0.825 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.007543, allocations: 12.12 kB / 0.825 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007547, allocations: 0 / 0.825 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.007557, allocations: 7.938 kB / 0.825 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.007615, allocations: 23.98 kB / 0.825 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007618, allocations: 0 / 0.825 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.007637, allocations: 7.938 kB / 0.825 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.007642, allocations: 4 kB / 0.825 GB, free: 11.77 MB / 0.8073 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 4.992e-05/0.007692, allocations: 117.7 kB / 0.8251 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.007711, allocations: 11.94 kB / 0.8252 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.007736, allocations: 12.11 kB / 0.8252 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007738, allocations: 8 kB / 0.8252 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00774, allocations: 0 / 0.8252 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.007743, allocations: 0 / 0.8252 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.007871, allocations: 81.88 kB / 0.8253 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.007872, allocations: 0 / 0.8253 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.007919, allocations: 12 kB / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.00794, allocations: 15.88 kB / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007941, allocations: 0 / 0.8253 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.007947, allocations: 4 kB / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007948, allocations: 0 / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.007949, allocations: 0 / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.008058, allocations: 163.5 kB / 0.8254 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.00807, allocations: 3.938 kB / 0.8254 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.008116, allocations: 11.98 kB / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.008128, allocations: 0 / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.008133, allocations: 4 kB / 0.8255 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.957e-06/0.008142, allocations: 8.844 kB / 0.8255 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008142, allocations: 0 / 0.8255 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001265/0.008268, allocations: 16 kB / 0.8255 GB, free: 11.26 MB / 0.8073 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.973e-05/0.008358, allocations: 80.42 kB / 0.8256 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.51e-05/0.008423, allocations: 44.77 kB / 0.8256 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.008427, allocations: 0 / 0.8256 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.008441, allocations: 20.8 kB / 0.8256 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.008575, allocations: 15.98 kB / 0.8256 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.00947, allocations: 196.3 kB / 0.8258 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.009504, allocations: 59.34 kB / 0.8259 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.009541, allocations: 12.41 kB / 0.8259 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.009595, allocations: 63.36 kB / 0.826 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.009596, allocations: 0 / 0.826 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of Templates: time 0.002216/0.01181, allocations: 0.7645 MB / 0.8267 GB, free: 9.965 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.ref.csv","",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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 5.278532832860947]