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.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.001918/0.001918, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002248/0.002248, allocations: 173.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.736/2.736, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.503e-06/1.503e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.249e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006032/0.006065, allocations: 3.975 MB / 0.9548 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005486/0.01155, allocations: 2.852 MB / 0.9576 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006537/0.0122, allocations: 27.75 kB / 0.9576 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.01338, allocations: 357.6 kB / 0.958 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.01525, allocations: 0.719 MB / 0.9587 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.01701, allocations: 0.6675 MB / 0.9593 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002593/0.01961, allocations: 1.944 MB / 0.9612 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.01992, allocations: 114.4 kB / 0.9613 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.02166, allocations: 0.8107 MB / 0.9621 GB, free: 88 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.0229, allocations: 0.6235 MB / 0.9627 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.02313, allocations: 80 kB / 0.9628 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008906/0.02402, allocations: 411.3 kB / 0.9632 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006755/0.02469, allocations: 0.4986 MB / 0.9637 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.0254, allocations: 419 kB / 0.9641 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.0274, allocations: 1.511 MB / 0.9656 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02741, allocations: 0 / 0.9656 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02741, allocations: 0 / 0.9656 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.699e-05/0.02745, allocations: 0 / 0.9656 GB, free: 12.55 MB / 0.8731 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.00368/0.03113, allocations: 1.59 MB / 0.9671 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.03116, allocations: 11.97 kB / 0.9671 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/0.03166, allocations: 156 kB / 0.9673 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.03329, allocations: 0.7734 MB / 0.968 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.03334, allocations: 45.38 kB / 0.9681 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.03345, allocations: 64.33 kB / 0.9681 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.03445, allocations: 0.6104 MB / 0.9687 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.03447, allocations: 4.188 kB / 0.9687 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.03452, allocations: 20.12 kB / 0.9687 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.03453, allocations: 12 kB / 0.9688 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008618/0.03539, allocations: 0.5621 MB / 0.9693 GB, free: 8.617 MB / 0.8731 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.004484/0.03987, allocations: 2.234 MB / 0.9715 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.0414, allocations: 0.8165 MB / 0.9723 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.04189, allocations: 341.4 kB / 0.9726 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.308e-05/0.04196, allocations: 20.36 kB / 0.9726 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.04199, allocations: 34.94 kB / 0.9727 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.953e-06/0.04199, allocations: 8 kB / 0.9727 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001962/0.04396, allocations: 1.115 MB / 0.9738 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.044, allocations: 55.41 kB / 0.9738 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.04586, allocations: 1.243 MB / 0.975 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.04593, allocations: 41.7 kB / 0.9751 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.04638, allocations: 465.3 kB / 0.9755 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.04656, allocations: 182.4 kB / 0.9757 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.04686, allocations: 214.6 kB / 0.9759 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.04704, allocations: 345.9 kB / 0.9762 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009085/0.04795, allocations: 0.6426 MB / 0.9768 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.04912, allocations: 0.9749 MB / 0.9778 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.05126, allocations: 1.584 MB / 0.9793 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.05127, allocations: 4 kB / 0.9793 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002762/0.05403, allocations: 1.791 MB / 0.9811 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.05406, allocations: 12 kB / 0.9811 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.05409, allocations: 15.94 kB / 0.9811 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.05435, allocations: 48.77 kB / 0.9812 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.05564, allocations: 268 kB / 0.9814 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/0.06092, allocations: 6.706 MB / 0.988 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.06214, allocations: 143 kB / 0.9881 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.06224, allocations: 36 kB / 0.9881 GB, free: 4.602 MB / 0.8887 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.0005447/0.06279, allocations: 309.4 kB / 0.9884 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.06313, allocations: 115.5 kB / 0.9885 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.06476, allocations: 0.8428 MB / 0.9894 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.06477, allocations: 7.938 kB / 0.9894 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.06478, allocations: 0 / 0.9894 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.06479, allocations: 7.969 kB / 0.9894 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.06617, allocations: 0.6755 MB / 0.99 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.06618, allocations: 3.938 kB / 0.9901 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.06674, allocations: 111.8 kB / 0.9902 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.0669, allocations: 32.84 kB / 0.9902 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.06695, allocations: 19.98 kB / 0.9902 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.0682, allocations: 1.299 MB / 0.9915 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0682, allocations: 4.031 kB / 0.9915 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.07015, allocations: 1.37 MB / 0.9928 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.07065, allocations: 199 kB / 0.993 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.07085, allocations: 15.98 kB / 0.993 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.0716, allocations: 31.91 kB / 0.9931 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.07168, allocations: 27.94 kB / 0.9931 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.07171, allocations: 23.94 kB / 0.9931 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001325/0.07304, allocations: 0.8271 MB / 0.9939 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.07304, allocations: 0 / 0.9939 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00115/0.07419, allocations: 375.6 kB / 0.9943 GB, free: 14.14 MB / 0.9044 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.0006517/0.07484, allocations: 290.7 kB / 0.9945 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002839/0.07768, allocations: 1.39 MB / 0.9959 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.07768, allocations: 4.125 kB / 0.9959 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006423/0.07832, allocations: 466.5 kB / 0.9964 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.07967, allocations: 237.9 kB / 0.9966 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.0834, allocations: 2.282 MB / 0.9988 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.08402, allocations: 0.5028 MB / 0.9993 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005487/0.08457, allocations: 203.1 kB / 0.9995 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.08482, allocations: 68.48 kB / 0.9996 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of SimCode: time 8.62e-07/0.08482, allocations: 0 / 0.9996 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of Templates: time 0.02964/0.1145, allocations: 15.51 MB / 1.015 GB, free: 9.438 MB / 0.92 GB " [Timeout remaining time 300] 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: 8.629606507718563]