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.002219/0.002219, allocations: 85.48 kB / 19.44 MB, free: 344 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.002111/0.002111, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.849/1.849, allocations: 177.1 MB / 203.1 MB, free: 5.199 MB / 186.7 MB " [Timeout remaining time 178] 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 3.43/3.43, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|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.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.8774 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.665e-05, allocations: 6.781 kB / 0.8774 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.009697/0.009733, allocations: 4.319 MB / 0.8816 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008236/0.01797, allocations: 2.955 MB / 0.8845 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009179/0.01889, allocations: 27.75 kB / 0.8845 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.0206, allocations: 357.6 kB / 0.8849 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.0234, allocations: 0.719 MB / 0.8856 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.02596, allocations: 0.6741 MB / 0.8862 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004102/0.03006, allocations: 1.944 MB / 0.8881 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.03055, allocations: 122.4 kB / 0.8883 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.03317, allocations: 0.8186 MB / 0.8891 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.03504, allocations: 0.6195 MB / 0.8897 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.03539, allocations: 76 kB / 0.8897 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.03689, allocations: 427.2 kB / 0.8901 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.03794, allocations: 0.4986 MB / 0.8906 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.03923, allocations: 423 kB / 0.891 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.04346, allocations: 1.503 MB / 0.8925 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.04346, allocations: 4 kB / 0.8925 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.603e-06/0.04346, allocations: 0 / 0.8925 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.097e-05/0.04353, allocations: 0 / 0.8925 GB, free: 6.078 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.005876/0.0494, allocations: 1.769 MB / 0.8942 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.04945, allocations: 8.031 kB / 0.8942 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000868/0.05032, allocations: 180 kB / 0.8944 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.05293, allocations: 0.7801 MB / 0.8952 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/0.05301, allocations: 41.38 kB / 0.8952 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.0532, allocations: 64.33 kB / 0.8953 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.05443, allocations: 427.4 kB / 0.8957 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.05446, allocations: 4.125 kB / 0.8957 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.05453, allocations: 20.12 kB / 0.8957 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.05454, allocations: 12 kB / 0.8957 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/0.05537, allocations: 211.8 kB / 0.8959 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/0.0623, allocations: 2.227 MB / 0.8981 GB, free: 200 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.06398, allocations: 409 kB / 0.8985 GB, free: 15.78 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.06442, allocations: 124.3 kB / 0.8986 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.06455, allocations: 28.36 kB / 0.8986 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.0646, allocations: 41.77 kB / 0.8987 GB, free: 15.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 4.058e-06/0.06461, allocations: 0 / 0.8987 GB, free: 15.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.002033/0.06664, allocations: 0.4932 MB / 0.8991 GB, free: 15.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.06671, allocations: 59.41 kB / 0.8992 GB, free: 15 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.07014, allocations: 1.353 MB / 0.9005 GB, free: 13.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.07024, allocations: 41.7 kB / 0.9006 GB, free: 13.59 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.07113, allocations: 0.5702 MB / 0.9011 GB, free: 13.02 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.07149, allocations: 190.5 kB / 0.9013 GB, free: 12.83 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006152/0.07211, allocations: 256.2 kB / 0.9015 GB, free: 12.57 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004754/0.07258, allocations: 0.5473 MB / 0.9021 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.0733, allocations: 222.2 kB / 0.9023 GB, free: 11.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.07467, allocations: 0.7065 MB / 0.903 GB, free: 10.89 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.07687, allocations: 1.027 MB / 0.904 GB, free: 9.672 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.07688, allocations: 3.938 kB / 0.904 GB, free: 9.668 MB / 0.823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002945/0.07983, allocations: 1.005 MB / 0.905 GB, free: 8.648 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.07987, allocations: 9.906 kB / 0.905 GB, free: 8.641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/0.07992, allocations: 19.94 kB / 0.905 GB, free: 8.621 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/0.08035, allocations: 47.66 kB / 0.905 GB, free: 8.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.08197, allocations: 271.7 kB / 0.9053 GB, free: 8.305 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.08897, allocations: 9.116 MB / 0.9142 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.09031, allocations: 131 kB / 0.9143 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.09045, allocations: 44 kB / 0.9144 GB, free: 14.66 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.0005146/0.09096, allocations: 252.2 kB / 0.9146 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.09132, allocations: 127.2 kB / 0.9147 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.09238, allocations: 426.2 kB / 0.9151 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.09239, allocations: 7.938 kB / 0.9151 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.0924, allocations: 0 / 0.9151 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.0924, allocations: 0 / 0.9151 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.09375, allocations: 0.7119 MB / 0.9158 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.09375, allocations: 4 kB / 0.9158 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.09435, allocations: 107.9 kB / 0.9159 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.09459, allocations: 35.66 kB / 0.916 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.09464, allocations: 15.98 kB / 0.916 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.0962, allocations: 1.767 MB / 0.9177 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.09621, allocations: 4 kB / 0.9177 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.09752, allocations: 0.6873 MB / 0.9184 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005891/0.09811, allocations: 179.1 kB / 0.9186 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.0983, allocations: 15.98 kB / 0.9186 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/0.09897, allocations: 23.97 kB / 0.9186 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.09907, allocations: 31.94 kB / 0.9186 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.0991, allocations: 12 kB / 0.9187 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001397/0.1005, allocations: 0.8037 MB / 0.9194 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.1005, allocations: 0 / 0.9194 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001206/0.1017, allocations: 375.5 kB / 0.9198 GB, free: 8.895 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.0006635/0.1024, allocations: 282.8 kB / 0.9201 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.1046, allocations: 0.8874 MB / 0.9209 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1046, allocations: 4 kB / 0.9209 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.1052, allocations: 338 kB / 0.9213 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.1063, allocations: 223.2 kB / 0.9215 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.1098, allocations: 2 MB / 0.9234 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.1105, allocations: 495 kB / 0.9239 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005134/0.111, allocations: 167.1 kB / 0.9241 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.1112, allocations: 68.5 kB / 0.9241 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of SimCode: time 1.051e-06/0.1112, allocations: 4 kB / 0.9241 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of Templates: time 0.03135/0.1426, allocations: 15.56 MB / 0.9393 GB, free: 5.066 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.45112219802104]