Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.000959/0.000959, 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.001135/0.001135, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9461/0.9461, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.396/2.396, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.805e-05, allocations: 5.406 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006133/0.006161, allocations: 4.316 MB / 0.8428 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005833/0.01199, allocations: 2.995 MB / 0.8457 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009658/0.01296, allocations: 27.75 kB / 0.8457 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.01423, allocations: 361.5 kB / 0.846 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.01599, allocations: 0.7229 MB / 0.8468 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.01735, allocations: 0.6818 MB / 0.8474 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.01927, allocations: 1.936 MB / 0.8493 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.01953, allocations: 131 kB / 0.8494 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.02081, allocations: 0.8185 MB / 0.8502 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.02159, allocations: 0.6117 MB / 0.8508 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.02173, allocations: 76 kB / 0.8509 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.02238, allocations: 419.2 kB / 0.8513 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004463/0.02283, allocations: 0.5103 MB / 0.8518 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.02326, allocations: 419 kB / 0.8522 GB, free: 216 kB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.02459, allocations: 1.145 MB / 0.8533 GB, free: 15.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0246, allocations: 0 / 0.8533 GB, free: 15.06 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.0246, allocations: 0 / 0.8533 GB, free: 15.06 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.337e-05/0.02462, allocations: 0 / 0.8533 GB, free: 15.06 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001923/0.02654, allocations: 1.503 MB / 0.8548 GB, free: 13.52 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.02659, allocations: 16.61 kB / 0.8548 GB, free: 13.51 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.02694, allocations: 124.8 kB / 0.8549 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.02776, allocations: 0.6271 MB / 0.8555 GB, free: 12.72 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.02781, allocations: 45.38 kB / 0.8556 GB, free: 12.68 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.02789, allocations: 68.31 kB / 0.8556 GB, free: 12.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.02826, allocations: 332 kB / 0.856 GB, free: 12.26 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.02828, allocations: 8.109 kB / 0.856 GB, free: 12.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.0283, allocations: 24.12 kB / 0.856 GB, free: 12.23 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.02832, allocations: 12 kB / 0.856 GB, free: 12.22 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.02848, allocations: 113.7 kB / 0.8561 GB, free: 12.11 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.03039, allocations: 1.531 MB / 0.8576 GB, free: 10.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.03093, allocations: 404.9 kB / 0.858 GB, free: 10.12 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.03103, allocations: 81.56 kB / 0.8581 GB, free: 10.04 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.0311, allocations: 24.36 kB / 0.8581 GB, free: 10.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.03112, allocations: 34.94 kB / 0.8581 GB, free: 9.977 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.578e-06/0.03113, allocations: 7.984 kB / 0.8581 GB, free: 9.969 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.0005784/0.0317, allocations: 325.8 kB / 0.8584 GB, free: 9.641 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.03174, allocations: 55.41 kB / 0.8585 GB, free: 9.574 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.03244, allocations: 0.9397 MB / 0.8594 GB, free: 8.625 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.03248, allocations: 41.7 kB / 0.8595 GB, free: 8.578 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.03267, allocations: 323.1 kB / 0.8598 GB, free: 8.258 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.03277, allocations: 186.3 kB / 0.8599 GB, free: 8.074 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.03294, allocations: 202.4 kB / 0.8601 GB, free: 7.871 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.03304, allocations: 353.8 kB / 0.8605 GB, free: 7.52 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.03321, allocations: 169.1 kB / 0.8606 GB, free: 7.355 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.03351, allocations: 498.5 kB / 0.8611 GB, free: 6.727 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.03412, allocations: 0.7423 MB / 0.8618 GB, free: 5.836 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.03413, allocations: 7.938 kB / 0.8618 GB, free: 5.828 MB / 0.823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008249/0.03496, allocations: 0.7266 MB / 0.8626 GB, free: 5.086 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.03499, allocations: 14.03 kB / 0.8626 GB, free: 5.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.03501, allocations: 24.11 kB / 0.8626 GB, free: 5.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.03522, allocations: 47.59 kB / 0.8626 GB, free: 5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.03581, allocations: 231.7 kB / 0.8629 GB, free: 4.773 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.03819, allocations: 6.08 MB / 0.8688 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.03877, allocations: 119 kB / 0.8689 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.03881, allocations: 32 kB / 0.8689 GB, free: 14.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.03902, allocations: 168.3 kB / 0.8691 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.03914, allocations: 75.91 kB / 0.8692 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.03953, allocations: 314.4 kB / 0.8695 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.03954, allocations: 4 kB / 0.8695 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.03954, allocations: 4 kB / 0.8695 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.03955, allocations: 7.938 kB / 0.8695 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.04001, allocations: 410.8 kB / 0.8699 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.04001, allocations: 0 / 0.8699 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.04027, allocations: 95.88 kB / 0.87 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.04039, allocations: 35.66 kB / 0.87 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.04042, allocations: 15.98 kB / 0.87 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000577/0.041, allocations: 1.216 MB / 0.8712 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.041, allocations: 3.938 kB / 0.8712 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.04143, allocations: 0.4938 MB / 0.8717 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.04167, allocations: 143 kB / 0.8718 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.04175, allocations: 19.92 kB / 0.8718 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.04199, allocations: 11.98 kB / 0.8719 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.04204, allocations: 27.95 kB / 0.8719 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.04205, allocations: 11.98 kB / 0.8719 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003802/0.04243, allocations: 466.1 kB / 0.8723 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.04243, allocations: 0 / 0.8723 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007331/0.04317, allocations: 375.5 kB / 0.8727 GB, free: 10.22 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005194/0.04369, allocations: 267.9 kB / 0.873 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.0449, allocations: 0.6786 MB / 0.8736 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/0.04492, allocations: 8 kB / 0.8736 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.04515, allocations: 243.6 kB / 0.8739 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.04596, allocations: 235.6 kB / 0.8741 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.04845, allocations: 1.752 MB / 0.8758 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.04865, allocations: 239 kB / 0.876 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000327/0.04898, allocations: 111.1 kB / 0.8761 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.04947, allocations: 265.1 kB / 0.8764 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of SimCode: time 9.52e-07/0.04947, allocations: 0 / 0.8764 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.02529/0.07476, allocations: 16.76 MB / 0.8927 GB, free: 5.926 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.612249160185456]