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.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.001883/0.001883, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001994/0.001994, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.469/3.469, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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 2.495e-06/2.495e-06, allocations: 0 / 0.8774 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.571e-05, allocations: 9.062 kB / 0.8774 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003001/0.003036, allocations: 1.282 MB / 0.8787 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.008064, allocations: 3.361 MB / 0.8819 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.008097, allocations: 0 / 0.8819 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.008115, allocations: 0 / 0.8819 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.008177, allocations: 7.875 kB / 0.8819 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.008797, allocations: 109 kB / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.008892, allocations: 39.86 kB / 0.8821 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.008933, allocations: 0 / 0.8821 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.009016, allocations: 31.89 kB / 0.8821 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/0.009091, allocations: 11.98 kB / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.009107, allocations: 0 / 0.8821 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.009362, allocations: 75.69 kB / 0.8822 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.009382, allocations: 3.984 kB / 0.8822 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.009419, allocations: 19.98 kB / 0.8822 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.009645, allocations: 75.72 kB / 0.8823 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.009649, allocations: 0 / 0.8823 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.009651, allocations: 4 kB / 0.8823 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.009655, allocations: 0 / 0.8823 GB, free: 1.723 MB / 0.8386 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.0005665/0.01022, allocations: 376.2 kB / 0.8827 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.01026, allocations: 8.031 kB / 0.8827 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.01042, allocations: 16.86 kB / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.01053, allocations: 104.6 kB / 0.8828 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.01055, allocations: 4.375 kB / 0.8828 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.01059, allocations: 12.33 kB / 0.8828 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.0108, allocations: 135.3 kB / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01081, allocations: 192 / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.01082, allocations: 12.12 kB / 0.8829 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.01083, allocations: 0 / 0.8829 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.0109, allocations: 15.98 kB / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.0111, allocations: 120.6 kB / 0.8831 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.01123, allocations: 55.05 kB / 0.8831 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.01127, allocations: 23.67 kB / 0.8831 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006728/0.01194, allocations: 292.7 kB / 0.8834 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.01198, allocations: 37.39 kB / 0.8835 GB, free: 376 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.01198, allocations: 3.938 kB / 0.8835 GB, free: 372 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0006623/0.01264, allocations: 234.1 kB / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.01269, allocations: 51.41 kB / 0.8837 GB, free: 36 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.01285, allocations: 165.9 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01287, allocations: 29.7 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.01297, allocations: 134.8 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.01301, allocations: 27.8 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.01306, allocations: 31.38 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002795/0.01334, allocations: 0.4884 MB / 0.8846 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.01338, allocations: 19.92 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.01347, allocations: 70.11 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.0136, allocations: 94 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0136, allocations: 0 / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001651/0.01376, allocations: 101.5 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01378, allocations: 4 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01379, allocations: 4 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.01381, allocations: 8.109 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.01388, allocations: 19.94 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01389, allocations: 4 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.01393, allocations: 0 / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01394, allocations: 4 kB / 0.8849 GB, free: 14.74 MB / 0.8542 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 0.0004311/0.01437, allocations: 168.5 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.0144, allocations: 11.98 kB / 0.8851 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.01444, allocations: 16.06 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01444, allocations: 0 / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01445, allocations: 0 / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01445, allocations: 0 / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.0147, allocations: 140.6 kB / 0.8852 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.0147, allocations: 0 / 0.8852 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.01479, allocations: 19.92 kB / 0.8852 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01479, allocations: 0 / 0.8852 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.0148, allocations: 4 kB / 0.8852 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.0148, allocations: 0 / 0.8852 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0148, allocations: 0 / 0.8852 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01509, allocations: 231.8 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.01511, allocations: 4 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.01513, allocations: 4 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.01521, allocations: 4 kB / 0.8855 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.01525, allocations: 7.984 kB / 0.8855 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.01525, allocations: 0 / 0.8855 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.01534, allocations: 127.5 kB / 0.8856 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01534, allocations: 0 / 0.8856 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000225/0.01556, allocations: 12 kB / 0.8856 GB, free: 13.94 MB / 0.8542 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.0001697/0.01573, allocations: 107.4 kB / 0.8857 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.0159, allocations: 47.78 kB / 0.8858 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.0159, allocations: 4.062 kB / 0.8858 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.01594, allocations: 31.61 kB / 0.8858 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.0162, allocations: 12.16 kB / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.0168, allocations: 262 kB / 0.8861 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.12e-05/0.01689, allocations: 67.3 kB / 0.8861 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.243e-05/0.01694, allocations: 15.97 kB / 0.8861 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.01697, allocations: 12.5 kB / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.01697, allocations: 0 / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.003814/0.02078, allocations: 0.6472 MB / 0.8868 GB, free: 12.69 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.66782773192972]