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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 489.7 MB / 0.7761 GB, free: 2.543 MB / 0.6075 GB [Timeout remaining time 87] 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=501,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=501,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.001938/0.001938, allocations: 63.91 kB / 1.127 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8956, allocations: 172.1 MB / 1.295 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002385/0.898, allocations: 1.265 MB / 1.296 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.902, allocations: 3.276 MB / 1.299 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.9021, allocations: 4 kB / 1.299 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.9021, allocations: 0.6094 kB / 1.299 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.9021, allocations: 5.844 kB / 1.299 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.9026, allocations: 114.7 kB / 1.299 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.9027, allocations: 34.69 kB / 1.299 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.26e-05/0.9027, allocations: 2.031 kB / 1.299 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.9028, allocations: 16.91 kB / 1.299 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.9028, allocations: 25.94 kB / 1.299 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.9028, allocations: 2.344 kB / 1.299 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.9031, allocations: 82.25 kB / 1.3 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.9031, allocations: 7.562 kB / 1.3 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.9031, allocations: 13.98 kB / 1.3 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.9033, allocations: 70.67 kB / 1.3 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9033, allocations: 0 / 1.3 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9033, allocations: 1.438 kB / 1.3 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.9033, allocations: 0 / 1.3 GB, free: 2.23 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.000496/0.9038, allocations: 354.3 kB / 1.3 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.9038, allocations: 9.938 kB / 1.3 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.9039, allocations: 5.406 kB / 1.3 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.9041, allocations: 162.9 kB / 1.3 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.9041, allocations: 5.625 kB / 1.3 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.9042, allocations: 4.406 kB / 1.3 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.9043, allocations: 65.48 kB / 1.3 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9043, allocations: 1.125 kB / 1.3 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.9043, allocations: 0 / 1.3 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.9043, allocations: 5.188 kB / 1.3 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.9044, allocations: 16.5 kB / 1.3 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.9046, allocations: 170.4 kB / 1.3 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.9047, allocations: 48.09 kB / 1.3 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.9047, allocations: 21.16 kB / 1.3 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/0.9054, allocations: 0.5943 MB / 1.301 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.9054, allocations: 36.41 kB / 1.301 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.9054, allocations: 1.125 kB / 1.301 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005859/0.906, allocations: 303.7 kB / 1.301 GB, free: 396 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.9061, allocations: 53.66 kB / 1.301 GB, free: 332 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.9061, allocations: 95.66 kB / 1.302 GB, free: 232 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9062, allocations: 34.83 kB / 1.302 GB, free: 192 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.9062, allocations: 86.31 kB / 1.302 GB, free: 104 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.9062, allocations: 29.2 kB / 1.302 GB, free: 80 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.9063, allocations: 27.55 kB / 1.302 GB, free: 56 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.9064, allocations: 317.4 kB / 1.302 GB, free: 15.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.9065, allocations: 14.16 kB / 1.302 GB, free: 15.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.9065, allocations: 60.28 kB / 1.302 GB, free: 15.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.9066, allocations: 73.02 kB / 1.302 GB, free: 15.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.9066, allocations: 1.312 kB / 1.302 GB, free: 15.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/0.9068, allocations: 98.06 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.9068, allocations: 5.422 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9068, allocations: 1.781 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.9068, allocations: 2.781 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-05/0.9069, allocations: 22.45 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.9069, allocations: 3.562 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.9069, allocations: 13.25 kB / 1.302 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.907, allocations: 3.938 kB / 1.302 GB, free: 15.53 MB / 1.014 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 8.827e-05/0.907, allocations: 126.4 kB / 1.302 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.9071, allocations: 6.938 kB / 1.302 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.9071, allocations: 8.484 kB / 1.302 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.9071, allocations: 1.469 kB / 1.302 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9071, allocations: 0.6094 kB / 1.302 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9071, allocations: 6.219 kB / 1.302 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.9074, allocations: 168 kB / 1.303 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.9074, allocations: 1.406 kB / 1.303 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.9075, allocations: 23 kB / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9075, allocations: 0 / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.9075, allocations: 1.344 kB / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.9075, allocations: 5.875 kB / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9075, allocations: 0 / 1.303 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.9077, allocations: 176.5 kB / 1.303 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.9077, allocations: 81.25 kB / 1.303 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.9077, allocations: 4.5 kB / 1.303 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.9078, allocations: 8 kB / 1.303 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.9079, allocations: 4.359 kB / 1.303 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.9079, allocations: 10.08 kB / 1.303 GB, free: 14.92 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.9079, allocations: 79.58 kB / 1.303 GB, free: 14.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9079, allocations: 0 / 1.303 GB, free: 14.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002316/0.9082, allocations: 14.78 kB / 1.303 GB, free: 14.84 MB / 1.014 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.0001291/0.9083, allocations: 106.5 kB / 1.303 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.9084, allocations: 40.75 kB / 1.303 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.9084, allocations: 4.25 kB / 1.303 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.9084, allocations: 12.14 kB / 1.303 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.9087, allocations: 8.984 kB / 1.303 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.9093, allocations: 354.3 kB / 1.303 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.9097, allocations: 0.6861 MB / 1.304 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.9097, allocations: 13.09 kB / 1.304 GB, free: 13.72 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.9097, allocations: 3.938 kB / 1.304 GB, free: 13.71 MB / 1.014 GB Notification: Performance of Templates: time 0.002234/0.912, allocations: 0.7792 MB / 1.305 GB, free: 13.66 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/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