Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.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.001244/0.001244, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001038/0.001038, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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 1.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.922/1.922, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.WaterDerivativeCheck,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.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,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.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.214e-05, allocations: 4.984 kB / 0.8115 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002722/0.002754, allocations: 1.325 MB / 0.8128 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004682/0.007436, allocations: 3.358 MB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.007479, allocations: 0 / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.007502, allocations: 0 / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.007559, allocations: 7.922 kB / 0.8161 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.008194, allocations: 109.3 kB / 0.8162 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.008285, allocations: 31.86 kB / 0.8162 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.008331, allocations: 9.688 kB / 0.8162 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.008407, allocations: 27.95 kB / 0.8162 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.008471, allocations: 7.984 kB / 0.8162 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.008488, allocations: 4 kB / 0.8162 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.008717, allocations: 68.59 kB / 0.8163 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.008736, allocations: 8 kB / 0.8163 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.008769, allocations: 19.91 kB / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.008972, allocations: 68.33 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.008977, allocations: 0.5312 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.008978, allocations: 0.5312 kB / 0.8164 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.008984, allocations: 0 / 0.8164 GB, free: 13.11 MB / 0.7761 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.0004428/0.009426, allocations: 373.4 kB / 0.8168 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.009473, allocations: 12.03 kB / 0.8168 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.009627, allocations: 14.02 kB / 0.8168 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.009727, allocations: 112.6 kB / 0.8169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.009743, allocations: 5.203 kB / 0.8169 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.009772, allocations: 8.312 kB / 0.8169 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.009948, allocations: 132.6 kB / 0.817 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.009957, allocations: 4.125 kB / 0.817 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.009972, allocations: 4.125 kB / 0.817 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.009982, allocations: 4 kB / 0.817 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.079e-05/0.01003, allocations: 12.83 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.01021, allocations: 124.6 kB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.01032, allocations: 56.11 kB / 0.8172 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.01035, allocations: 15.69 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006175/0.01097, allocations: 310 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.011, allocations: 33.39 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 2.124e-06/0.011, allocations: 0 / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0006231/0.01163, allocations: 227.5 kB / 0.8178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.01166, allocations: 51.41 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01176, allocations: 169.8 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.01178, allocations: 28.64 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.01183, allocations: 130.8 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.01186, allocations: 27.75 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.0119, allocations: 35.36 kB / 0.8182 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01205, allocations: 0.4884 MB / 0.8187 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.01208, allocations: 8.047 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.01215, allocations: 74.05 kB / 0.8188 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.01224, allocations: 83.53 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01225, allocations: 3.938 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/0.01239, allocations: 94.7 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01241, allocations: 4.5 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01242, allocations: 5.312 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01243, allocations: 0 / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.01251, allocations: 23.92 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01252, allocations: 4.875 kB / 0.819 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.01256, allocations: 4 kB / 0.819 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01256, allocations: 4 kB / 0.819 GB, free: 10.16 MB / 0.7761 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 9.711e-05/0.01266, allocations: 165.9 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.0127, allocations: 7.953 kB / 0.8191 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.01273, allocations: 13.11 kB / 0.8192 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01274, allocations: 0 / 0.8192 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01274, allocations: 7.938 kB / 0.8192 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01275, allocations: 0.5312 kB / 0.8192 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.01298, allocations: 132.6 kB / 0.8193 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01298, allocations: 0.6562 kB / 0.8193 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.01306, allocations: 18.69 kB / 0.8193 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01306, allocations: 288 / 0.8193 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01308, allocations: 7.984 kB / 0.8193 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01308, allocations: 0 / 0.8193 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01308, allocations: 0 / 0.8193 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.01329, allocations: 219.9 kB / 0.8195 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.01332, allocations: 7.938 kB / 0.8195 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01333, allocations: 10.69 kB / 0.8195 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.01341, allocations: 0 / 0.8195 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.01344, allocations: 11.98 kB / 0.8196 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.01344, allocations: 0 / 0.8196 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.01349, allocations: 123.2 kB / 0.8197 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01349, allocations: 0 / 0.8197 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002928/0.01378, allocations: 12 kB / 0.8197 GB, free: 9.371 MB / 0.7761 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.0001493/0.01393, allocations: 100.2 kB / 0.8198 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.01406, allocations: 52.7 kB / 0.8198 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01407, allocations: 1.125 kB / 0.8198 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.0141, allocations: 27.61 kB / 0.8199 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01439, allocations: 7.938 kB / 0.8199 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.01524, allocations: 285.1 kB / 0.8201 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.01529, allocations: 63.34 kB / 0.8202 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.01534, allocations: 4 kB / 0.8202 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.01537, allocations: 12.5 kB / 0.8202 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of SimCode: time 8.92e-07/0.01537, allocations: 0 / 0.8202 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.003552/0.01892, allocations: 0.6475 MB / 0.8208 GB, free: 8.137 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","",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.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.116611188976094]