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.0009827/0.0009827, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001033/0.001033, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9656/0.9656, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.964/1.964, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 1.983e-06/1.983e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3e-05, allocations: 6.25 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002343/0.002373, allocations: 1.304 MB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.006411, allocations: 3.026 MB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.006436, allocations: 0 / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.006462, allocations: 3.938 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.006515, allocations: 5.359 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.00709, allocations: 101.2 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.007172, allocations: 35.89 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.007208, allocations: 4 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.007776, allocations: 192.9 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.007821, allocations: 19.97 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.007834, allocations: 0 / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.007974, allocations: 51.89 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.007994, allocations: 7.969 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.008023, allocations: 16.66 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.008203, allocations: 63.78 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.008206, allocations: 0.5312 kB / 0.7917 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.008207, allocations: 1.656 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.008212, allocations: 0 / 0.7918 GB, free: 7.723 MB / 0.7448 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.0003894/0.008601, allocations: 372.2 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.008641, allocations: 8.031 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.008691, allocations: 9.891 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.008777, allocations: 113.7 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.008789, allocations: 384 / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.008824, allocations: 8.359 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.008976, allocations: 132.5 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.008984, allocations: 8.062 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.008998, allocations: 4.125 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.009008, allocations: 4.844 kB / 0.7924 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.009052, allocations: 11.98 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.0092, allocations: 129.4 kB / 0.7925 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.009288, allocations: 47.05 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.009315, allocations: 16.97 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.009877, allocations: 300.7 kB / 0.7929 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.009905, allocations: 33.39 kB / 0.7929 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.009906, allocations: 0.8438 kB / 0.7929 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005496/0.01046, allocations: 234.7 kB / 0.7931 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.01049, allocations: 51.41 kB / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.01057, allocations: 167.3 kB / 0.7933 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.01058, allocations: 25.7 kB / 0.7934 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.01064, allocations: 134.8 kB / 0.7935 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.01066, allocations: 19.8 kB / 0.7935 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.01071, allocations: 40.62 kB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.01084, allocations: 0.4884 MB / 0.794 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.01087, allocations: 7.984 kB / 0.794 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.01093, allocations: 70.05 kB / 0.7941 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.062e-05/0.01102, allocations: 89.2 kB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01102, allocations: 0 / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001368/0.01116, allocations: 93.55 kB / 0.7943 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01117, allocations: 8.438 kB / 0.7943 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01118, allocations: 5.344 kB / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.0112, allocations: 0 / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.01127, allocations: 23.92 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01128, allocations: 5.062 kB / 0.7943 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.01131, allocations: 4 kB / 0.7943 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.01132, allocations: 4 kB / 0.7943 GB, free: 4.789 MB / 0.7448 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.086e-05/0.0114, allocations: 165.2 kB / 0.7945 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.01143, allocations: 4.531 kB / 0.7945 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.01146, allocations: 8.125 kB / 0.7945 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.01146, allocations: 14.73 kB / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01147, allocations: 0 / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01147, allocations: 0 / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.01168, allocations: 132.6 kB / 0.7946 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.01169, allocations: 4 kB / 0.7946 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.01176, allocations: 12 kB / 0.7946 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01176, allocations: 0 / 0.7946 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01177, allocations: 6.172 kB / 0.7946 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01177, allocations: 0 / 0.7946 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01177, allocations: 448 / 0.7946 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.01196, allocations: 227.9 kB / 0.7949 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.01199, allocations: 15.88 kB / 0.7949 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.01201, allocations: 4 kB / 0.7949 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.01208, allocations: 4.969 kB / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.0121, allocations: 7.984 kB / 0.7949 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01211, allocations: 4 kB / 0.7949 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.01215, allocations: 124.3 kB / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01215, allocations: 0 / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002843/0.01243, allocations: 12 kB / 0.795 GB, free: 4 MB / 0.7448 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.000121/0.01255, allocations: 101.4 kB / 0.7951 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.01267, allocations: 53.55 kB / 0.7952 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01267, allocations: 0 / 0.7952 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.01271, allocations: 31.61 kB / 0.7952 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.01299, allocations: 11.88 kB / 0.7952 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.01372, allocations: 273.3 kB / 0.7955 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01377, allocations: 60.66 kB / 0.7955 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.726e-05/0.01382, allocations: 15.92 kB / 0.7956 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.01385, allocations: 12.5 kB / 0.7956 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/0.01385, allocations: 0 / 0.7956 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.003013/0.01686, allocations: 0.6467 MB / 0.7962 GB, free: 2.762 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","",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: 5.419381318613887]