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.001744/0.001744, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001956/0.001956, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.273 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 3.016/3.016, allocations: 496.2 MB / 0.7819 GB, free: 12.49 MB / 0.6231 GB " [Timeout remaining time 176] 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.002695/0.002695, allocations: 71.89 kB / 1.136 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347/1.35, allocations: 173.7 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004557/1.354, allocations: 4.389 MB / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004537/1.359, allocations: 2.982 MB / 1.313 GB, free: 28.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/1.36, allocations: 19.81 kB / 1.313 GB, free: 28.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009903/1.361, allocations: 369 kB / 1.313 GB, free: 28.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/1.362, allocations: 0.6603 MB / 1.314 GB, free: 27.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/1.363, allocations: 0.6286 MB / 1.314 GB, free: 27.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001543/1.365, allocations: 1.882 MB / 1.316 GB, free: 26.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/1.365, allocations: 127.8 kB / 1.316 GB, free: 26.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/1.366, allocations: 0.5992 MB / 1.317 GB, free: 26.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/1.367, allocations: 0.6931 MB / 1.317 GB, free: 26.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/1.367, allocations: 74.31 kB / 1.318 GB, free: 26.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/1.367, allocations: 429.4 kB / 1.318 GB, free: 25.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/1.368, allocations: 473.5 kB / 1.318 GB, free: 25.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004578/1.368, allocations: 0.5966 MB / 1.319 GB, free: 25.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/1.37, allocations: 1.482 MB / 1.32 GB, free: 24.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.37, allocations: 0 / 1.32 GB, free: 24.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/1.37, allocations: 0 / 1.32 GB, free: 24.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.467e-05/1.37, allocations: 0 / 1.32 GB, free: 24.9 MB / 1.061 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.002604/1.372, allocations: 1.659 MB / 1.322 GB, free: 23.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.372, allocations: 11.77 kB / 1.322 GB, free: 23.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/1.372, allocations: 141.2 kB / 1.322 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/1.374, allocations: 0.8536 MB / 1.323 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/1.374, allocations: 43.53 kB / 1.323 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/1.374, allocations: 65.5 kB / 1.323 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/1.374, allocations: 0.6215 MB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.375, allocations: 0 / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/1.375, allocations: 16.78 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.375, allocations: 11.28 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/1.375, allocations: 0.5574 MB / 1.324 GB, free: 22.77 MB / 1.061 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.004231/1.379, allocations: 3.278 MB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.381, allocations: 0.8215 MB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/1.381, allocations: 343.4 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/1.381, allocations: 27.97 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.381, allocations: 38.27 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.895e-06/1.381, allocations: 3.938 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.002364/1.384, allocations: 1.188 MB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.384, allocations: 55.81 kB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.386, allocations: 1.235 MB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/1.386, allocations: 41.27 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/1.386, allocations: 468.9 kB / 1.332 GB, free: 18.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/1.386, allocations: 182.5 kB / 1.332 GB, free: 18.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/1.387, allocations: 213.2 kB / 1.332 GB, free: 18.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/1.387, allocations: 348.2 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007977/1.388, allocations: 0.6403 MB / 1.333 GB, free: 18.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.389, allocations: 0.977 MB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/1.39, allocations: 1.586 MB / 1.335 GB, free: 16.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.39, allocations: 2.469 kB / 1.335 GB, free: 16.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003153/1.394, allocations: 1.786 MB / 1.337 GB, free: 15.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.394, allocations: 10 kB / 1.337 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/1.394, allocations: 12.03 kB / 1.337 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/1.394, allocations: 45.02 kB / 1.337 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.395, allocations: 273.2 kB / 1.338 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/1.399, allocations: 6.84 MB / 1.344 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.4, allocations: 135.5 kB / 1.344 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.4, allocations: 41.06 kB / 1.344 GB, free: 9.469 MB / 1.061 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.0006242/1.401, allocations: 306.8 kB / 1.345 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.401, allocations: 120.2 kB / 1.345 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/1.403, allocations: 0.8367 MB / 1.346 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.403, allocations: 4.281 kB / 1.346 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.403, allocations: 0.6094 kB / 1.346 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.403, allocations: 3.594 kB / 1.346 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/1.404, allocations: 0.9135 MB / 1.346 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.404, allocations: 4.703 kB / 1.346 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/1.405, allocations: 110.2 kB / 1.347 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.405, allocations: 35.28 kB / 1.347 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/1.405, allocations: 17.06 kB / 1.347 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009184/1.406, allocations: 1.434 MB / 1.348 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.406, allocations: 5.25 kB / 1.348 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/1.409, allocations: 1.37 MB / 1.349 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/1.409, allocations: 266.3 kB / 1.35 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/1.409, allocations: 15.7 kB / 1.35 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/1.41, allocations: 28.97 kB / 1.35 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.41, allocations: 31.44 kB / 1.35 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/1.41, allocations: 9.406 kB / 1.35 GB, free: 6.316 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001335/1.411, allocations: 0.8202 MB / 1.351 GB, free: 5.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.411, allocations: 0 / 1.351 GB, free: 5.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001306/1.413, allocations: 371.7 kB / 1.351 GB, free: 5.945 MB / 1.061 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.0005515/1.413, allocations: 285.5 kB / 1.351 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002614/1.416, allocations: 1.385 MB / 1.352 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.416, allocations: 2 kB / 1.352 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/1.416, allocations: 470.8 kB / 1.353 GB, free: 5.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/1.418, allocations: 224.6 kB / 1.353 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/1.422, allocations: 2.564 MB / 1.356 GB, free: 3.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.424, allocations: 1.108 MB / 1.357 GB, free: 2.828 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008464/1.424, allocations: 205.9 kB / 1.357 GB, free: 2.797 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/1.425, allocations: 63.81 kB / 1.357 GB, free: 2.789 MB / 1.061 GB Notification: Performance of SimCode: time 1.312e-06/1.425, allocations: 0 / 1.357 GB, free: 2.789 MB / 1.061 GB Notification: Performance of Templates: time 0.03813/1.463, allocations: 15.01 MB / 1.372 GB, free: 1.785 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] 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: 10.661820439621806]