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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 113.3 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 489.3 MB / 0.7687 GB, free: 3.852 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001973/0.001973, allocations: 67.89 kB / 1.103 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.8857, allocations: 163.8 MB / 1.263 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004706/0.8905, allocations: 4.371 MB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004609/0.8951, allocations: 2.942 MB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006128/0.8957, allocations: 21.03 kB / 1.27 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.8968, allocations: 363.4 kB / 1.27 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.8982, allocations: 0.637 MB / 1.271 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.8999, allocations: 0.6468 MB / 1.271 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.9022, allocations: 1.873 MB / 1.273 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.9025, allocations: 186.3 kB / 1.273 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.9035, allocations: 0.5801 MB / 1.274 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000908/0.9044, allocations: 0.6596 MB / 1.275 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.9045, allocations: 76.94 kB / 1.275 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.9053, allocations: 412.1 kB / 1.275 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.9059, allocations: 464.7 kB / 1.275 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.9064, allocations: 0.6032 MB / 1.276 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.9085, allocations: 1.478 MB / 1.277 GB, free: 15.53 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9085, allocations: 4 kB / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9085, allocations: 0 / 1.277 GB, free: 15.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.9086, allocations: 1.688 kB / 1.277 GB, free: 15.52 MB / 1.014 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.003292/0.9119, allocations: 1.653 MB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9119, allocations: 8.562 kB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.9121, allocations: 139.4 kB / 1.279 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.9135, allocations: 0.854 MB / 1.28 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.9136, allocations: 45.75 kB / 1.28 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.9137, allocations: 62.61 kB / 1.28 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.9147, allocations: 0.6122 MB / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.9147, allocations: 0 / 1.281 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.9147, allocations: 20.91 kB / 1.281 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.9148, allocations: 13.91 kB / 1.281 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.9156, allocations: 0.5564 MB / 1.281 GB, free: 13.41 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004781/0.9203, allocations: 3.279 MB / 1.285 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.9219, allocations: 0.8468 MB / 1.285 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.9224, allocations: 364.4 kB / 1.286 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.783e-05/0.9225, allocations: 29.45 kB / 1.286 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.9226, allocations: 32.91 kB / 1.286 GB, free: 10.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.595e-06/0.9226, allocations: 1.062 kB / 1.286 GB, free: 10.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002069/0.9246, allocations: 1.191 MB / 1.287 GB, free: 10.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.9247, allocations: 56.16 kB / 1.287 GB, free: 10.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.9268, allocations: 1.23 MB / 1.288 GB, free: 9.898 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.9269, allocations: 40.95 kB / 1.288 GB, free: 9.855 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.9273, allocations: 474 kB / 1.289 GB, free: 9.484 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.9275, allocations: 182.9 kB / 1.289 GB, free: 9.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.9279, allocations: 211.5 kB / 1.289 GB, free: 9.246 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.9281, allocations: 356.4 kB / 1.289 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/0.9289, allocations: 0.6421 MB / 1.29 GB, free: 8.723 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.93, allocations: 0.9694 MB / 1.291 GB, free: 8.109 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.9319, allocations: 1.584 MB / 1.293 GB, free: 7.227 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.9319, allocations: 3.125 kB / 1.293 GB, free: 7.227 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00266/0.9346, allocations: 1.79 MB / 1.294 GB, free: 6.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.9346, allocations: 11.22 kB / 1.294 GB, free: 6.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/0.9347, allocations: 21.75 kB / 1.294 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.9349, allocations: 43.33 kB / 1.294 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.9361, allocations: 266.1 kB / 1.295 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.9408, allocations: 6.84 MB / 1.301 GB, free: 188 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.9421, allocations: 130.5 kB / 1.301 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.9423, allocations: 41.62 kB / 1.301 GB, free: 96 kB / 1.014 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.0005943/0.9429, allocations: 306 kB / 1.302 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.9432, allocations: 120.8 kB / 1.302 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.9446, allocations: 0.8407 MB / 1.303 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.9446, allocations: 4.312 kB / 1.303 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.9446, allocations: 1.094 kB / 1.303 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.9447, allocations: 2.625 kB / 1.303 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.9462, allocations: 0.9095 MB / 1.304 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.9462, allocations: 5.344 kB / 1.304 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.9467, allocations: 110.3 kB / 1.304 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.9469, allocations: 34.44 kB / 1.304 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.9469, allocations: 17.61 kB / 1.304 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.9482, allocations: 1.438 MB / 1.305 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9482, allocations: 1.922 kB / 1.305 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.9503, allocations: 1.377 MB / 1.306 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.9509, allocations: 270 kB / 1.307 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.9511, allocations: 19.12 kB / 1.307 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.9519, allocations: 24.42 kB / 1.307 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.952, allocations: 29.17 kB / 1.307 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.952, allocations: 21.23 kB / 1.307 GB, free: 12.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001391/0.9534, allocations: 0.8192 MB / 1.308 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9534, allocations: 1 kB / 1.308 GB, free: 12.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001382/0.9548, allocations: 371.9 kB / 1.308 GB, free: 12.55 MB / 1.029 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.000742/0.9555, allocations: 267.3 kB / 1.308 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.9583, allocations: 1.507 MB / 1.31 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9584, allocations: 0 / 1.31 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.959, allocations: 481.5 kB / 1.31 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.9604, allocations: 223.8 kB / 1.31 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.9647, allocations: 2.618 MB / 1.313 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/0.9657, allocations: 1.101 MB / 1.314 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.966, allocations: 66.27 kB / 1.314 GB, free: 9.305 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.966, allocations: 0 / 1.314 GB, free: 9.305 MB / 1.029 GB Notification: Performance of Templates: time 0.0433/1.009, allocations: 30.8 MB / 1.344 GB, free: 13.38 MB / 1.045 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.361454426078126]