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.0014/0.0014, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001332/0.001332, allocations: 165 kB / 23.27 MB, free: 1.223 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.106/1.106, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.365/2.365, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.264e-06/2.264e-06, allocations: 0 / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.161e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005791/0.005813, allocations: 4.318 MB / 0.8939 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005008/0.01082, allocations: 2.922 MB / 0.8968 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004729/0.01129, allocations: 27.75 kB / 0.8968 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009705/0.01226, allocations: 361.5 kB / 0.8971 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.01362, allocations: 0.7307 MB / 0.8979 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009566/0.01457, allocations: 0.6701 MB / 0.8985 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.01597, allocations: 1.944 MB / 0.9004 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.01617, allocations: 114.5 kB / 0.9005 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009338/0.0171, allocations: 0.8379 MB / 0.9013 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.01775, allocations: 0.6234 MB / 0.9019 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.01786, allocations: 76 kB / 0.902 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.01836, allocations: 411.3 kB / 0.9024 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003458/0.01871, allocations: 0.5025 MB / 0.9029 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.01901, allocations: 419 kB / 0.9033 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009631/0.01998, allocations: 1.144 MB / 0.9044 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01998, allocations: 0 / 0.9044 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01998, allocations: 4 kB / 0.9044 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.02, allocations: 0 / 0.9044 GB, free: 10.65 MB / 0.8698 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.001661/0.02166, allocations: 1.695 MB / 0.9061 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.02169, allocations: 12.62 kB / 0.9061 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.02196, allocations: 184 kB / 0.9063 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.02264, allocations: 0.691 MB / 0.9069 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.02267, allocations: 45.38 kB / 0.907 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.02273, allocations: 68.31 kB / 0.907 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.02306, allocations: 339.3 kB / 0.9074 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.02307, allocations: 4.188 kB / 0.9074 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.02309, allocations: 24.12 kB / 0.9074 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.0231, allocations: 12 kB / 0.9074 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.02324, allocations: 118.8 kB / 0.9075 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.02512, allocations: 2.078 MB / 0.9095 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.02561, allocations: 376.9 kB / 0.9099 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.02571, allocations: 88.39 kB / 0.91 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.02577, allocations: 31.86 kB / 0.91 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.02579, allocations: 37.7 kB / 0.9101 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.02579, allocations: 0 / 0.9101 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.0005692/0.02636, allocations: 437.1 kB / 0.9105 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.02639, allocations: 55.41 kB / 0.9105 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.02717, allocations: 1.114 MB / 0.9116 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.0272, allocations: 41.7 kB / 0.9117 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.0275, allocations: 0.5388 MB / 0.9122 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.02761, allocations: 190.4 kB / 0.9124 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.02779, allocations: 232.1 kB / 0.9126 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.02794, allocations: 0.5393 MB / 0.9131 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.02809, allocations: 162.2 kB / 0.9133 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.02847, allocations: 0.6244 MB / 0.9139 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.02907, allocations: 0.8821 MB / 0.9147 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.02907, allocations: 4 kB / 0.9147 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008178/0.02989, allocations: 0.8797 MB / 0.9156 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.02991, allocations: 12 kB / 0.9156 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.02993, allocations: 12.88 kB / 0.9156 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.03008, allocations: 47.66 kB / 0.9157 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.0306, allocations: 255.6 kB / 0.9159 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.03365, allocations: 9.066 MB / 0.9248 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.03405, allocations: 115 kB / 0.9249 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.03409, allocations: 36 kB / 0.9249 GB, free: 4.656 MB / 0.8855 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.0001874/0.03428, allocations: 212.2 kB / 0.9251 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.0344, allocations: 135.2 kB / 0.9252 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.03481, allocations: 354.2 kB / 0.9256 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.03482, allocations: 4 kB / 0.9256 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.03482, allocations: 8 kB / 0.9256 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.03483, allocations: 7.984 kB / 0.9256 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.0353, allocations: 483 kB / 0.9261 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.03531, allocations: 0 / 0.9261 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.03554, allocations: 95.88 kB / 0.9261 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.03565, allocations: 35.59 kB / 0.9262 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.03568, allocations: 23.98 kB / 0.9262 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006606/0.03634, allocations: 1.706 MB / 0.9279 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.03634, allocations: 7.922 kB / 0.9279 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.03685, allocations: 0.5857 MB / 0.9285 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.03707, allocations: 190.9 kB / 0.9286 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.03714, allocations: 12.12 kB / 0.9286 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.03737, allocations: 19.98 kB / 0.9287 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.03742, allocations: 31.94 kB / 0.9287 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.03743, allocations: 4 kB / 0.9287 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004391/0.03787, allocations: 0.6161 MB / 0.9293 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.03787, allocations: 7.844 kB / 0.9293 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006302/0.0385, allocations: 367.6 kB / 0.9297 GB, free: 15.6 MB / 0.9011 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.0003603/0.03886, allocations: 286.8 kB / 0.9299 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009368/0.0398, allocations: 0.7864 MB / 0.9307 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0398, allocations: 0 / 0.9307 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.04001, allocations: 301.4 kB / 0.931 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.04062, allocations: 235.4 kB / 0.9312 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.04266, allocations: 1.975 MB / 0.9331 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.04282, allocations: 235.2 kB / 0.9334 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.04304, allocations: 119.1 kB / 0.9335 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.04343, allocations: 302 kB / 0.9338 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of SimCode: time 7.31e-07/0.04343, allocations: 0 / 0.9338 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of Templates: time 0.01857/0.062, allocations: 16.8 MB / 0.9502 GB, free: 10.8 MB / 0.9167 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.906006055884063]