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.001443/0.001443, 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.001684/0.001684, 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.991/0.991, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.867/1.867, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.956e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001943/0.001972, allocations: 1.327 MB / 0.8128 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.005114, allocations: 3.359 MB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.005163, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.005191, allocations: 5.312 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.005255, allocations: 3.938 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.00595, allocations: 108.6 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.006045, allocations: 39.91 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.006091, allocations: 0.9375 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.006159, allocations: 31.84 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.006233, allocations: 12.89 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.00625, allocations: 0 / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.006502, allocations: 80.7 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.006519, allocations: 3.984 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.00655, allocations: 12 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.006758, allocations: 68.84 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.006764, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.054e-06/0.006766, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.006775, allocations: 1.375 kB / 0.8164 GB, free: 12.71 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.0004662/0.007241, allocations: 376.2 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.007292, allocations: 8.031 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.007459, allocations: 22.55 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.021e-05/0.00755, allocations: 112.5 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.007566, allocations: 4.375 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.007605, allocations: 11.34 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.007781, allocations: 123.3 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.007789, allocations: 4.188 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.007802, allocations: 4.125 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.007811, allocations: 0 / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.007856, allocations: 15.97 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.008027, allocations: 120.6 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.008127, allocations: 59 kB / 0.8172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.008157, allocations: 16.33 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/0.008724, allocations: 302.5 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.008751, allocations: 41.39 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.008752, allocations: 0 / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005263/0.009278, allocations: 227.7 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.009311, allocations: 55.39 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.009389, allocations: 165.8 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.009401, allocations: 29.7 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.009449, allocations: 134.8 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.009465, allocations: 32.64 kB / 0.8182 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.009499, allocations: 27.38 kB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.009617, allocations: 0.4892 MB / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.009638, allocations: 8.062 kB / 0.8187 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.009686, allocations: 70.95 kB / 0.8188 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.00976, allocations: 87.27 kB / 0.8189 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.009761, allocations: 0 / 0.8189 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000106/0.009867, allocations: 97.27 kB / 0.819 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.009884, allocations: 8 kB / 0.819 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.009889, allocations: 0 / 0.819 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.009905, allocations: 4 kB / 0.819 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.009963, allocations: 16 kB / 0.819 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.00997, allocations: 3.984 kB / 0.819 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.009998, allocations: 15.92 kB / 0.819 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.01, allocations: 6.781 kB / 0.819 GB, free: 9.758 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 7.83e-05/0.01008, allocations: 168.5 kB / 0.8192 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.0101, allocations: 7.953 kB / 0.8192 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.01013, allocations: 8.125 kB / 0.8192 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01013, allocations: 0 / 0.8192 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01014, allocations: 0 / 0.8192 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01014, allocations: 0 / 0.8192 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.01029, allocations: 137.6 kB / 0.8193 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0103, allocations: 0 / 0.8193 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.01034, allocations: 17.11 kB / 0.8193 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01035, allocations: 0 / 0.8193 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01036, allocations: 8 kB / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01036, allocations: 1.125 kB / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01036, allocations: 0 / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.01053, allocations: 219.8 kB / 0.8195 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.01055, allocations: 8.984 kB / 0.8196 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.01056, allocations: 3.984 kB / 0.8196 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.01061, allocations: 4 kB / 0.8196 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.01063, allocations: 5.156 kB / 0.8196 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.01064, allocations: 4 kB / 0.8196 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.01067, allocations: 123.2 kB / 0.8197 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01067, allocations: 1.656 kB / 0.8197 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001663/0.01084, allocations: 16 kB / 0.8197 GB, free: 8.977 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.0001224/0.01096, allocations: 95.75 kB / 0.8198 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01107, allocations: 48.88 kB / 0.8198 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01107, allocations: 3.938 kB / 0.8198 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.036e-05/0.01109, allocations: 28.58 kB / 0.8199 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.01128, allocations: 11.94 kB / 0.8199 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.01192, allocations: 275 kB / 0.8202 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.01197, allocations: 59.34 kB / 0.8202 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.012, allocations: 11.98 kB / 0.8202 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.01202, allocations: 12.5 kB / 0.8202 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01203, allocations: 0 / 0.8202 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of Templates: time 0.002475/0.0145, allocations: 0.6981 MB / 0.8209 GB, free: 7.699 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.022188630886376]