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.001403/0.001403, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001293/0.001293, allocations: 177 kB / 23.36 MB, free: 1.125 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.01/1.01, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.52/2.52, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 9.32e-07/9.32e-07, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.83e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00183/0.001849, allocations: 1.367 MB / 0.8399 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.004548, allocations: 3.367 MB / 0.8432 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.004565, allocations: 0 / 0.8432 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.135e-05/0.004576, allocations: 0 / 0.8432 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.004606, allocations: 7.875 kB / 0.8432 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.004908, allocations: 107.5 kB / 0.8433 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.097e-05/0.004959, allocations: 31.86 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.321e-05/0.004982, allocations: 7.984 kB / 0.8433 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.005026, allocations: 27.91 kB / 0.8434 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.005068, allocations: 15.98 kB / 0.8434 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.005076, allocations: 0 / 0.8434 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.005201, allocations: 71.69 kB / 0.8435 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.005212, allocations: 11.97 kB / 0.8435 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.005225, allocations: 8 kB / 0.8435 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.005333, allocations: 75.72 kB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005335, allocations: 4 kB / 0.8436 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005335, allocations: 0 / 0.8436 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.005338, allocations: 0 / 0.8436 GB, free: 9.133 MB / 0.8073 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.0002898/0.005628, allocations: 248.5 kB / 0.8438 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.005655, allocations: 8.031 kB / 0.8438 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.005728, allocations: 16.88 kB / 0.8438 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.005778, allocations: 105.8 kB / 0.8439 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.005785, allocations: 4.375 kB / 0.8439 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.005799, allocations: 8.375 kB / 0.8439 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.005891, allocations: 135.2 kB / 0.8441 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.005896, allocations: 4.188 kB / 0.8441 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.005904, allocations: 8.125 kB / 0.8441 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005908, allocations: 4 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.005933, allocations: 11.98 kB / 0.8441 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.158e-05/0.006004, allocations: 65 kB / 0.8441 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.006056, allocations: 46.62 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.006071, allocations: 16.84 kB / 0.8442 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.006364, allocations: 216.3 kB / 0.8444 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.006384, allocations: 38.5 kB / 0.8444 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.006386, allocations: 4 kB / 0.8445 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0003417/0.006727, allocations: 225.7 kB / 0.8447 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.006746, allocations: 51.41 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.006789, allocations: 110.6 kB / 0.8448 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.006798, allocations: 29.64 kB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.006826, allocations: 92.09 kB / 0.8449 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.00684, allocations: 27.72 kB / 0.845 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.006865, allocations: 29.72 kB / 0.845 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.006927, allocations: 318.8 kB / 0.8453 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.006937, allocations: 7.984 kB / 0.8453 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.006963, allocations: 45.16 kB / 0.8453 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.007112, allocations: 69.05 kB / 0.8454 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007113, allocations: 0 / 0.8454 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.923e-05/0.007182, allocations: 85.48 kB / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.007191, allocations: 4 kB / 0.8455 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.007194, allocations: 0 / 0.8455 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007205, allocations: 4 kB / 0.8455 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.379e-05/0.007249, allocations: 23.92 kB / 0.8455 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.007252, allocations: 4 kB / 0.8455 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.007274, allocations: 0 / 0.8455 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.007279, allocations: 8 kB / 0.8455 GB, free: 6.852 MB / 0.8073 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 4.452e-05/0.007324, allocations: 113.8 kB / 0.8456 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.007344, allocations: 20.33 kB / 0.8457 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.007361, allocations: 8.125 kB / 0.8457 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.007364, allocations: 3.984 kB / 0.8457 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.007367, allocations: 4 kB / 0.8457 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.00737, allocations: 0 / 0.8457 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.007486, allocations: 77.88 kB / 0.8458 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007486, allocations: 4 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.00753, allocations: 15.98 kB / 0.8458 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007531, allocations: 0 / 0.8458 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.007537, allocations: 3.938 kB / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007538, allocations: 0 / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007539, allocations: 11.94 kB / 0.8458 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.156e-05/0.00763, allocations: 159.5 kB / 0.8459 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.007647, allocations: 11.94 kB / 0.8459 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.007656, allocations: 3.938 kB / 0.846 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.007697, allocations: 4 kB / 0.846 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.007708, allocations: 4 kB / 0.846 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.007712, allocations: 3.984 kB / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.782e-06/0.007719, allocations: 8.859 kB / 0.846 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007719, allocations: 0 / 0.846 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001239/0.007843, allocations: 12 kB / 0.846 GB, free: 6.348 MB / 0.8073 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 6.59e-05/0.007909, allocations: 80.42 kB / 0.8461 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.007964, allocations: 44.77 kB / 0.8461 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.007966, allocations: 0 / 0.8461 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.00798, allocations: 24.78 kB / 0.8461 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.008086, allocations: 10.03 kB / 0.8461 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.008482, allocations: 228.7 kB / 0.8464 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.00851, allocations: 59.34 kB / 0.8464 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.00854, allocations: 8 kB / 0.8464 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.008588, allocations: 63.36 kB / 0.8465 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of SimCode: time 4.5e-07/0.008588, allocations: 4 kB / 0.8465 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of Templates: time 0.003239/0.01183, allocations: 0.705 MB / 0.8472 GB, free: 5.082 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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","",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: 5.33436953695491]