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.001061/0.001061, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001007/0.001007, allocations: 165 kB / 23.01 MB, free: 1.555 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.9777/0.9777, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.109/2.109, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.314e-06/2.314e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.105e-05, allocations: 6.578 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005541/0.005572, allocations: 4.367 MB / 0.8824 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.009488, allocations: 2.95 MB / 0.8853 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.009972, allocations: 32.34 kB / 0.8853 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.01104, allocations: 354.8 kB / 0.8856 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.01214, allocations: 0.7205 MB / 0.8863 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.01345, allocations: 0.6701 MB / 0.887 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.01507, allocations: 1.94 MB / 0.8889 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.01529, allocations: 118.4 kB / 0.889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.01635, allocations: 0.8262 MB / 0.8898 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.01711, allocations: 0.6234 MB / 0.8904 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.01721, allocations: 76 kB / 0.8905 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.01784, allocations: 407.4 kB / 0.8909 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.01821, allocations: 0.5064 MB / 0.8914 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.01855, allocations: 426.9 kB / 0.8918 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.01974, allocations: 1.141 MB / 0.8929 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.01974, allocations: 3.938 kB / 0.8929 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01974, allocations: 0 / 0.8929 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.01975, allocations: 0 / 0.8929 GB, free: 7.164 MB / 0.8542 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.001862/0.02162, allocations: 1.71 MB / 0.8946 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.02165, allocations: 12.03 kB / 0.8946 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.02195, allocations: 188 kB / 0.8948 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.02281, allocations: 0.7418 MB / 0.8955 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.02284, allocations: 45.38 kB / 0.8955 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.02292, allocations: 64.33 kB / 0.8956 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.02335, allocations: 367.4 kB / 0.8959 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.02336, allocations: 192 / 0.8959 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.02339, allocations: 20.12 kB / 0.896 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.02341, allocations: 12 kB / 0.896 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.02365, allocations: 157.8 kB / 0.8961 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.02599, allocations: 2.102 MB / 0.8982 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.02671, allocations: 410.5 kB / 0.8986 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.02687, allocations: 108.3 kB / 0.8987 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.02695, allocations: 28.36 kB / 0.8987 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.02698, allocations: 41.77 kB / 0.8987 GB, free: 1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 3.045e-06/0.02698, allocations: 3.938 kB / 0.8987 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.0007831/0.02776, allocations: 465.2 kB / 0.8992 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.0278, allocations: 59.34 kB / 0.8992 GB, free: 472 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.02892, allocations: 1.142 MB / 0.9004 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.02895, allocations: 41.7 kB / 0.9004 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.02926, allocations: 0.5351 MB / 0.9009 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.02937, allocations: 186.5 kB / 0.9011 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.02956, allocations: 232.2 kB / 0.9013 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.0297, allocations: 0.5238 MB / 0.9018 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.02994, allocations: 206.2 kB / 0.902 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.03038, allocations: 0.6714 MB / 0.9027 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/0.03107, allocations: 0.9525 MB / 0.9036 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.03108, allocations: 4 kB / 0.9036 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009849/0.03206, allocations: 0.9702 MB / 0.9046 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.03208, allocations: 12 kB / 0.9046 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.0321, allocations: 12 kB / 0.9046 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.03232, allocations: 43.66 kB / 0.9046 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.03293, allocations: 275.8 kB / 0.9049 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.03595, allocations: 9.077 MB / 0.9138 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.03648, allocations: 135 kB / 0.9139 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.03652, allocations: 40 kB / 0.9139 GB, free: 0.6211 MB / 0.8698 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.0001801/0.0367, allocations: 212.5 kB / 0.9141 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.03681, allocations: 135.2 kB / 0.9143 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.03728, allocations: 386.2 kB / 0.9146 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.03728, allocations: 11.94 kB / 0.9146 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.03729, allocations: 0 / 0.9146 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.03729, allocations: 3.938 kB / 0.9146 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.03785, allocations: 0.622 MB / 0.9153 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03785, allocations: 0 / 0.9153 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.03813, allocations: 107.9 kB / 0.9154 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/0.03825, allocations: 35.66 kB / 0.9154 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.03828, allocations: 15.98 kB / 0.9154 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006464/0.03893, allocations: 1.744 MB / 0.9171 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03893, allocations: 0 / 0.9171 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.03956, allocations: 0.6364 MB / 0.9177 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.03981, allocations: 191 kB / 0.9179 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.03988, allocations: 15.97 kB / 0.9179 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.04015, allocations: 31.91 kB / 0.918 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.04021, allocations: 31.94 kB / 0.918 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.04023, allocations: 8 kB / 0.918 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00059/0.04082, allocations: 0.6748 MB / 0.9187 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/0.04082, allocations: 4.031 kB / 0.9187 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006857/0.04151, allocations: 371.5 kB / 0.919 GB, free: 11.21 MB / 0.8855 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.0003982/0.0419, allocations: 282.8 kB / 0.9193 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.043, allocations: 0.8411 MB / 0.9201 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.043, allocations: 4.062 kB / 0.9201 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.04323, allocations: 313.5 kB / 0.9204 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.04402, allocations: 231.1 kB / 0.9206 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.04619, allocations: 1.974 MB / 0.9226 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.04634, allocations: 235.3 kB / 0.9228 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.04662, allocations: 175.1 kB / 0.9229 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.04677, allocations: 72.48 kB / 0.923 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/0.04677, allocations: 0 / 0.923 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of Templates: time 0.02604/0.07281, allocations: 15.68 MB / 0.9383 GB, free: 7.598 MB / 0.9011 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: 6.0837214342318475]