Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001522/0.001522, allocations: 110 kB / 18.93 MB, free: 2.945 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.001777/0.001777, allocations: 190.1 kB / 22.23 MB, free: 5.156 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.479/1.479, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.89 kB / 1.11 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8694, allocations: 168.8 MB / 1.274 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005822/0.8752, allocations: 4.399 MB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005313/0.8805, allocations: 2.983 MB / 1.282 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.8811, allocations: 27.75 kB / 1.282 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.8822, allocations: 361.7 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.8837, allocations: 0.7077 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.8855, allocations: 0.6588 MB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.8879, allocations: 1.906 MB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.8881, allocations: 118.4 kB / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.8889, allocations: 0.6035 MB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.8899, allocations: 0.72 MB / 1.286 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.8901, allocations: 80 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.8909, allocations: 443.4 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005239/0.8914, allocations: 482.6 kB / 1.287 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006289/0.892, allocations: 0.6139 MB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.8938, allocations: 1.478 MB / 1.289 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8938, allocations: 0 / 1.289 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8938, allocations: 4 kB / 1.289 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.261e-05/0.8938, allocations: 0 / 1.289 GB, free: 4.625 MB / 0.9825 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.003149/0.8969, allocations: 1.604 MB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.897, allocations: 11.98 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.8972, allocations: 144 kB / 1.291 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.8986, allocations: 0.778 MB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.8987, allocations: 45.38 kB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.8988, allocations: 60.38 kB / 1.292 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009411/0.8997, allocations: 0.6217 MB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.8997, allocations: 0 / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.8998, allocations: 16 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.8998, allocations: 12 kB / 1.293 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.9006, allocations: 0.5543 MB / 1.293 GB, free: 0.6914 MB / 0.9825 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.00482/0.9054, allocations: 3.252 MB / 1.296 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.9068, allocations: 0.8127 MB / 1.297 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.9073, allocations: 349.2 kB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/0.9074, allocations: 32.28 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.9074, allocations: 38.94 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.9074, allocations: 0 / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001926/0.9093, allocations: 1.104 MB / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.9094, allocations: 63.41 kB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.9111, allocations: 1.239 MB / 1.3 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.9111, allocations: 41.7 kB / 1.3 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.9115, allocations: 469.3 kB / 1.3 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.9117, allocations: 178.4 kB / 1.301 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.912, allocations: 214.6 kB / 1.301 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9121, allocations: 345.9 kB / 1.301 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008446/0.913, allocations: 0.6465 MB / 1.302 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.9141, allocations: 0.9708 MB / 1.303 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.9161, allocations: 1.593 MB / 1.304 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.9161, allocations: 3.938 kB / 1.304 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002672/0.9187, allocations: 1.791 MB / 1.306 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.9188, allocations: 8 kB / 1.306 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/0.9188, allocations: 12 kB / 1.306 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.919, allocations: 53.27 kB / 1.306 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.9202, allocations: 267.7 kB / 1.306 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005205/0.9254, allocations: 6.736 MB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.9268, allocations: 131.3 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.9269, allocations: 44 kB / 1.313 GB, free: 11.43 MB / 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.0005731/0.9274, allocations: 301.4 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.9277, allocations: 127.1 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.9291, allocations: 0.8425 MB / 1.314 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.9291, allocations: 8 kB / 1.314 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9291, allocations: 7.938 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.9291, allocations: 3.984 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.9304, allocations: 0.8908 MB / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9304, allocations: 0 / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.9309, allocations: 111.8 kB / 1.315 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.931, allocations: 28.84 kB / 1.315 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.9311, allocations: 19.98 kB / 1.315 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.9323, allocations: 1.33 MB / 1.317 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9324, allocations: 4.031 kB / 1.317 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.9342, allocations: 1.362 MB / 1.318 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.9346, allocations: 191 kB / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9348, allocations: 23.94 kB / 1.318 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.9353, allocations: 36 kB / 1.318 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.9354, allocations: 35.88 kB / 1.318 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.9355, allocations: 12 kB / 1.318 GB, free: 5.902 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001255/0.9367, allocations: 0.8311 MB / 1.319 GB, free: 5.066 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9367, allocations: 0 / 1.319 GB, free: 5.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001094/0.9378, allocations: 363.6 kB / 1.319 GB, free: 4.711 MB / 1.014 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.0006855/0.9385, allocations: 274.9 kB / 1.32 GB, free: 4.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002637/0.9411, allocations: 1.394 MB / 1.321 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9411, allocations: 0 / 1.321 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.9418, allocations: 462.9 kB / 1.322 GB, free: 2.547 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.9429, allocations: 225.7 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.9468, allocations: 2.58 MB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.9477, allocations: 1.098 MB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005706/0.9483, allocations: 203.1 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.9485, allocations: 63.44 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.9485, allocations: 4 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of Templates: time 0.0306/0.9791, allocations: 15.37 MB / 1.341 GB, free: 15.12 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.569111389108002]