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.001977/0.001977, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002397/0.002397, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 2.893/2.893, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.863e-06/1.863e-06, allocations: 0.5469 kB / 0.8108 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.554e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002537/0.002563, allocations: 1.275 MB / 0.812 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.007199, allocations: 3.089 MB / 0.815 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.007225, allocations: 0.7188 kB / 0.815 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.007243, allocations: 0 / 0.815 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.007286, allocations: 4.469 kB / 0.815 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.00786, allocations: 108.9 kB / 0.8151 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.421e-05/0.007945, allocations: 39.89 kB / 0.8152 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.007976, allocations: 4.531 kB / 0.8152 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.008044, allocations: 29.22 kB / 0.8152 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.008113, allocations: 7.984 kB / 0.8152 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.00813, allocations: 4 kB / 0.8152 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.008362, allocations: 76.83 kB / 0.8153 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.008377, allocations: 4 kB / 0.8153 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.008415, allocations: 19.98 kB / 0.8153 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.008611, allocations: 69.16 kB / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.008613, allocations: 0 / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.31e-07/0.008614, allocations: 0 / 0.8154 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.008618, allocations: 0 / 0.8154 GB, free: 12.3 MB / 0.7292 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.0004557/0.009073, allocations: 271.7 kB / 0.8156 GB, free: 12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.009113, allocations: 12.03 kB / 0.8156 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.009246, allocations: 12.89 kB / 0.8157 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.009367, allocations: 118.8 kB / 0.8158 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.00938, allocations: 384 / 0.8158 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.009414, allocations: 8.375 kB / 0.8158 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.009605, allocations: 128.2 kB / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.009614, allocations: 192 / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.009631, allocations: 9.562 kB / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.009635, allocations: 0 / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.009699, allocations: 23.95 kB / 0.8159 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.009868, allocations: 105.3 kB / 0.816 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.009996, allocations: 51.59 kB / 0.8161 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.01004, allocations: 24.78 kB / 0.8161 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.01066, allocations: 252 kB / 0.8163 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.01069, allocations: 30.56 kB / 0.8164 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.01069, allocations: 0 / 0.8164 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006381/0.01133, allocations: 225.5 kB / 0.8166 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.01137, allocations: 53.78 kB / 0.8166 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.01146, allocations: 101.8 kB / 0.8167 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.01149, allocations: 29.7 kB / 0.8168 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.01155, allocations: 88.09 kB / 0.8168 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.01159, allocations: 31.73 kB / 0.8169 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.01163, allocations: 21.72 kB / 0.8169 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.0118, allocations: 319.4 kB / 0.8172 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.01183, allocations: 12 kB / 0.8172 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.01191, allocations: 55.08 kB / 0.8173 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01203, allocations: 80.95 kB / 0.8173 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01203, allocations: 0.9062 kB / 0.8173 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001696/0.0122, allocations: 102.3 kB / 0.8174 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01221, allocations: 11.25 kB / 0.8175 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01222, allocations: 0 / 0.8175 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01224, allocations: 0 / 0.8175 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.01232, allocations: 20 kB / 0.8175 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01232, allocations: 0 / 0.8175 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.01237, allocations: 11.98 kB / 0.8175 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.01238, allocations: 7.938 kB / 0.8175 GB, free: 9.867 MB / 0.7292 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.53e-05/0.01247, allocations: 117.7 kB / 0.8176 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.0125, allocations: 6.375 kB / 0.8176 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.01254, allocations: 12.12 kB / 0.8176 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01254, allocations: 0 / 0.8176 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01254, allocations: 0 / 0.8176 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01255, allocations: 0 / 0.8176 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.01279, allocations: 125.3 kB / 0.8177 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01279, allocations: 0 / 0.8177 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.01288, allocations: 16.92 kB / 0.8178 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01289, allocations: 4 kB / 0.8178 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.0129, allocations: 5.125 kB / 0.8178 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0129, allocations: 0 / 0.8178 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0129, allocations: 0 / 0.8178 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01312, allocations: 180.7 kB / 0.8179 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.01315, allocations: 7.953 kB / 0.8179 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.01316, allocations: 0 / 0.8179 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01327, allocations: 9.25 kB / 0.818 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.01329, allocations: 7.984 kB / 0.818 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.0133, allocations: 4 kB / 0.818 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.01335, allocations: 80.23 kB / 0.818 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01335, allocations: 0 / 0.818 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00025/0.0136, allocations: 16 kB / 0.8181 GB, free: 9.227 MB / 0.7292 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.0001481/0.01375, allocations: 98.41 kB / 0.8182 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01387, allocations: 49.44 kB / 0.8182 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01388, allocations: 0 / 0.8182 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.0139, allocations: 15.98 kB / 0.8182 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.01419, allocations: 12.53 kB / 0.8182 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.01476, allocations: 257 kB / 0.8185 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.788e-05/0.01483, allocations: 63.34 kB / 0.8185 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.01488, allocations: 8 kB / 0.8185 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.01491, allocations: 12.5 kB / 0.8186 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01491, allocations: 0 / 0.8186 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.003406/0.01832, allocations: 0.6454 MB / 0.8192 GB, free: 8.047 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_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: 8.095730646047741]