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.00104/0.00104, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001591/0.001591, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.887/1.887, allocations: 377.9 MB / 0.6239 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.236e-06/3.236e-06, allocations: 3.984 kB / 0.812 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.153e-05, allocations: 6.25 kB / 0.812 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002896/0.002928, allocations: 1.312 MB / 0.8132 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.007249, allocations: 3.332 MB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.007297, allocations: 0 / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.00732, allocations: 0 / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.007372, allocations: 12.45 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.00804, allocations: 108.6 kB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.008135, allocations: 37.52 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.008176, allocations: 8 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.008258, allocations: 23.91 kB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.008329, allocations: 11.98 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.008344, allocations: 4.625 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.008601, allocations: 72.36 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.008626, allocations: 8 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.008652, allocations: 12.66 kB / 0.8168 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.00884, allocations: 71.8 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008844, allocations: 0.9062 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.008846, allocations: 0 / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.00885, allocations: 1.375 kB / 0.8169 GB, free: 12.52 MB / 0.7761 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.0004123/0.009263, allocations: 372.2 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.009307, allocations: 12.03 kB / 0.8172 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.009435, allocations: 14.92 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.176e-05/0.009516, allocations: 108.6 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.009529, allocations: 4.375 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.009554, allocations: 8.375 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.009703, allocations: 131.3 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.009713, allocations: 1.125 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.009724, allocations: 4.125 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.00973, allocations: 1.219 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.009776, allocations: 19.95 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.00994, allocations: 101.3 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.01003, allocations: 59.75 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.01006, allocations: 15.69 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/0.01064, allocations: 303 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.01068, allocations: 33.39 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 2.504e-06/0.01068, allocations: 0 / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005729/0.01125, allocations: 229.7 kB / 0.8182 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.01129, allocations: 58.45 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.01138, allocations: 157.9 kB / 0.8184 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.0114, allocations: 25.7 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.01145, allocations: 134.8 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.01148, allocations: 35.72 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.01152, allocations: 31.36 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.01167, allocations: 496.1 kB / 0.8191 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.01169, allocations: 4 kB / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.01175, allocations: 71.41 kB / 0.8192 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/0.01183, allocations: 82.61 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01184, allocations: 1 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001351/0.01197, allocations: 90.22 kB / 0.8193 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01199, allocations: 9.156 kB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01199, allocations: 0 / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.01201, allocations: 4 kB / 0.8194 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.01208, allocations: 20.81 kB / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01209, allocations: 4.062 kB / 0.8194 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.01213, allocations: 16.58 kB / 0.8194 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01213, allocations: 4 kB / 0.8194 GB, free: 9.613 MB / 0.7761 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.736e-05/0.01222, allocations: 165.2 kB / 0.8196 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.01225, allocations: 9.125 kB / 0.8196 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.01229, allocations: 8.406 kB / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01229, allocations: 0 / 0.8196 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01229, allocations: 5.016 kB / 0.8196 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.0123, allocations: 0 / 0.8196 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.0125, allocations: 117.2 kB / 0.8197 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0125, allocations: 1.125 kB / 0.8197 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.01257, allocations: 15.98 kB / 0.8197 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01258, allocations: 3.938 kB / 0.8197 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01259, allocations: 5.125 kB / 0.8197 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01259, allocations: 0 / 0.8197 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01259, allocations: 0 / 0.8197 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.01279, allocations: 224.8 kB / 0.8199 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.01281, allocations: 0 / 0.8199 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.01282, allocations: 8.594 kB / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.0129, allocations: 0 / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.01292, allocations: 9.203 kB / 0.8199 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01293, allocations: 4 kB / 0.8199 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.01297, allocations: 123.2 kB / 0.8201 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01297, allocations: 1.75 kB / 0.8201 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000255/0.01323, allocations: 8 kB / 0.8201 GB, free: 8.867 MB / 0.7761 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.0001353/0.01336, allocations: 104.4 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.01346, allocations: 47.53 kB / 0.8202 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01346, allocations: 1.094 kB / 0.8202 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.563e-05/0.01349, allocations: 23.67 kB / 0.8202 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01375, allocations: 11.12 kB / 0.8203 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.01451, allocations: 292 kB / 0.8205 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01456, allocations: 59.34 kB / 0.8206 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.01461, allocations: 8 kB / 0.8206 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.0147, allocations: 82.19 kB / 0.8207 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of SimCode: time 1.503e-06/0.0147, allocations: 0 / 0.8207 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.003827/0.01852, allocations: 0.6996 MB / 0.8214 GB, free: 7.496 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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_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: 5.058299629949033]