Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 113.4 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 489.2 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 1.103 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9333, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002154/0.9355, allocations: 1.268 MB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.9393, allocations: 3.256 MB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.9394, allocations: 1.094 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.9394, allocations: 5.219 kB / 1.267 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.9395, allocations: 9.453 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.9401, allocations: 100 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.9402, allocations: 39.39 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.9402, allocations: 2.547 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.9403, allocations: 20.66 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.9404, allocations: 17.89 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.9404, allocations: 1.562 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.9406, allocations: 81.2 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.9407, allocations: 8.203 kB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.9407, allocations: 16.41 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.9409, allocations: 74.83 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9409, allocations: 1.484 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9409, allocations: 0 / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9409, allocations: 0 / 1.267 GB, free: 4.59 MB / 0.9981 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.0003454/0.9413, allocations: 346.7 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9413, allocations: 13.12 kB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.9415, allocations: 10.53 kB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.9415, allocations: 161.8 kB / 1.268 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.9416, allocations: 6.547 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.9416, allocations: 4.156 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.9417, allocations: 61.75 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.9417, allocations: 0 / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.9418, allocations: 2.141 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9418, allocations: 0.9688 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.9418, allocations: 22.73 kB / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.942, allocations: 164.2 kB / 1.268 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.9421, allocations: 52.28 kB / 1.268 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.9421, allocations: 22.41 kB / 1.268 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006282/0.9428, allocations: 0.6036 MB / 1.269 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.9428, allocations: 39.83 kB / 1.269 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.9428, allocations: 0.8438 kB / 1.269 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005487/0.9434, allocations: 291.5 kB / 1.269 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.9434, allocations: 53.64 kB / 1.269 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.9435, allocations: 99.98 kB / 1.269 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.9435, allocations: 26.3 kB / 1.269 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.9435, allocations: 91.16 kB / 1.269 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.9435, allocations: 29.14 kB / 1.269 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.9436, allocations: 27.11 kB / 1.269 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.9437, allocations: 322.1 kB / 1.27 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.9437, allocations: 13.16 kB / 1.27 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.9437, allocations: 52.83 kB / 1.27 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.9438, allocations: 81.22 kB / 1.27 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9438, allocations: 1.156 kB / 1.27 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.944, allocations: 93.12 kB / 1.27 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.944, allocations: 10.75 kB / 1.27 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.944, allocations: 1.844 kB / 1.27 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.944, allocations: 1.844 kB / 1.27 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.9441, allocations: 23 kB / 1.27 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.9441, allocations: 2.781 kB / 1.27 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.9442, allocations: 5.562 kB / 1.27 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.9442, allocations: 7.75 kB / 1.27 GB, free: 1.895 MB / 0.9981 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 5.025e-05/0.9442, allocations: 113.9 kB / 1.27 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.9443, allocations: 3.125 kB / 1.27 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.9443, allocations: 13.41 kB / 1.27 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.9443, allocations: 5.844 kB / 1.27 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9443, allocations: 0.75 kB / 1.27 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9443, allocations: 3.938 kB / 1.27 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.9445, allocations: 177.8 kB / 1.27 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9446, allocations: 0 / 1.27 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.9446, allocations: 15.27 kB / 1.27 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9447, allocations: 1.266 kB / 1.27 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.9447, allocations: 0.75 kB / 1.27 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9447, allocations: 2.328 kB / 1.27 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9447, allocations: 4.281 kB / 1.27 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.9448, allocations: 175.9 kB / 1.27 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.9449, allocations: 89.52 kB / 1.271 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.9449, allocations: 8.688 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.945, allocations: 4.078 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.945, allocations: 3.875 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.9451, allocations: 6.766 kB / 1.271 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.214e-05/0.9451, allocations: 86.19 kB / 1.271 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9451, allocations: 0.9375 kB / 1.271 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002346/0.9453, allocations: 10.12 kB / 1.271 GB, free: 1.207 MB / 0.9981 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.0001274/0.9455, allocations: 105.6 kB / 1.271 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.9456, allocations: 42.56 kB / 1.271 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9456, allocations: 1.234 kB / 1.271 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.9456, allocations: 20.91 kB / 1.271 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.9459, allocations: 12.7 kB / 1.271 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.9464, allocations: 344.6 kB / 1.271 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.9466, allocations: 0.6868 MB / 1.272 GB, free: 92 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.9466, allocations: 12.34 kB / 1.272 GB, free: 84 kB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.9466, allocations: 0 / 1.272 GB, free: 84 kB / 0.9981 GB Notification: Performance of Templates: time 0.002525/0.9491, allocations: 0.7763 MB / 1.273 GB, free: 28 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.diff",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.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.840562205994502]