Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001814/0.001814, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002212/0.002212, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.891/2.891, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 67.89 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259/1.262, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004833/1.267, allocations: 3.963 MB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004891/1.271, allocations: 2.848 MB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/1.272, allocations: 26.75 kB / 1.161 GB, free: 28.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/1.273, allocations: 358.4 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/1.275, allocations: 0.6959 MB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/1.277, allocations: 0.6559 MB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002218/1.279, allocations: 1.905 MB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/1.279, allocations: 114.9 kB / 1.164 GB, free: 27.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/1.28, allocations: 0.6033 MB / 1.165 GB, free: 26.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009964/1.281, allocations: 0.6841 MB / 1.165 GB, free: 26.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/1.281, allocations: 75.91 kB / 1.166 GB, free: 26.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/1.282, allocations: 410.5 kB / 1.166 GB, free: 26.51 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000497/1.283, allocations: 482.6 kB / 1.166 GB, free: 26.33 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004613/1.283, allocations: 0.4969 MB / 1.167 GB, free: 26.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/1.284, allocations: 1.509 MB / 1.168 GB, free: 25.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.284, allocations: 0 / 1.168 GB, free: 25.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.695e-06/1.284, allocations: 2.625 kB / 1.168 GB, free: 25.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.786e-05/1.284, allocations: 0 / 1.168 GB, free: 25.52 MB / 1.076 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.002813/1.287, allocations: 1.598 MB / 1.17 GB, free: 24.53 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/1.287, allocations: 7.75 kB / 1.17 GB, free: 24.53 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/1.288, allocations: 150.1 kB / 1.17 GB, free: 24.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.289, allocations: 0.7905 MB / 1.171 GB, free: 23.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/1.289, allocations: 44.53 kB / 1.171 GB, free: 23.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.289, allocations: 64.33 kB / 1.171 GB, free: 23.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.29, allocations: 0.6248 MB / 1.172 GB, free: 23.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.29, allocations: 0.5 kB / 1.172 GB, free: 23.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/1.29, allocations: 16.12 kB / 1.172 GB, free: 23.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/1.29, allocations: 14.31 kB / 1.172 GB, free: 23.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/1.291, allocations: 0.5559 MB / 1.172 GB, free: 23.54 MB / 1.076 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.004249/1.295, allocations: 2.232 MB / 1.174 GB, free: 22.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.297, allocations: 0.8156 MB / 1.175 GB, free: 22.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/1.297, allocations: 342.9 kB / 1.175 GB, free: 22.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/1.298, allocations: 21.81 kB / 1.175 GB, free: 22.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/1.298, allocations: 42.25 kB / 1.175 GB, free: 22.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/1.298, allocations: 0 / 1.175 GB, free: 22.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.002032/1.3, allocations: 1.111 MB / 1.177 GB, free: 21.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/1.3, allocations: 61.62 kB / 1.177 GB, free: 21.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.302, allocations: 1.242 MB / 1.178 GB, free: 21.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/1.302, allocations: 40.33 kB / 1.178 GB, free: 21.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/1.302, allocations: 473.1 kB / 1.178 GB, free: 20.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/1.302, allocations: 179.4 kB / 1.178 GB, free: 20.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/1.302, allocations: 212.7 kB / 1.179 GB, free: 20.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/1.303, allocations: 349 kB / 1.179 GB, free: 20.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/1.303, allocations: 0.6449 MB / 1.18 GB, free: 20.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.304, allocations: 0.9664 MB / 1.181 GB, free: 19.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/1.306, allocations: 1.588 MB / 1.182 GB, free: 18.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.306, allocations: 2.812 kB / 1.182 GB, free: 18.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002652/1.309, allocations: 1.793 MB / 1.184 GB, free: 17.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/1.309, allocations: 11.56 kB / 1.184 GB, free: 17.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-05/1.309, allocations: 12.08 kB / 1.184 GB, free: 17.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/1.309, allocations: 48.92 kB / 1.184 GB, free: 17.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.31, allocations: 272.3 kB / 1.184 GB, free: 17.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/1.314, allocations: 6.704 MB / 1.191 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.316, allocations: 141.2 kB / 1.191 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.316, allocations: 36.88 kB / 1.191 GB, free: 11.57 MB / 1.076 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.0006564/1.316, allocations: 311.8 kB / 1.191 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/1.317, allocations: 116.8 kB / 1.191 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.318, allocations: 0.8396 MB / 1.192 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.318, allocations: 5.406 kB / 1.192 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.318, allocations: 0 / 1.192 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.318, allocations: 7.938 kB / 1.192 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/1.319, allocations: 0.675 MB / 1.193 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/1.319, allocations: 1.719 kB / 1.193 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/1.32, allocations: 117.2 kB / 1.193 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/1.32, allocations: 39.45 kB / 1.193 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/1.32, allocations: 17.94 kB / 1.193 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008215/1.321, allocations: 1.304 MB / 1.194 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.321, allocations: 4.734 kB / 1.194 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/1.323, allocations: 1.37 MB / 1.196 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/1.324, allocations: 196.7 kB / 1.196 GB, free: 8.805 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.324, allocations: 11.27 kB / 1.196 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/1.324, allocations: 36.61 kB / 1.196 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.325, allocations: 29.5 kB / 1.196 GB, free: 8.785 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/1.325, allocations: 14.73 kB / 1.196 GB, free: 8.781 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001408/1.326, allocations: 0.8285 MB / 1.197 GB, free: 8.457 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.326, allocations: 1.312 kB / 1.197 GB, free: 8.457 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001454/1.327, allocations: 367 kB / 1.197 GB, free: 8.41 MB / 1.076 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.0006917/1.328, allocations: 286.4 kB / 1.197 GB, free: 8.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003052/1.331, allocations: 1.391 MB / 1.199 GB, free: 7.766 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.331, allocations: 0 / 1.199 GB, free: 7.766 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006767/1.332, allocations: 466.1 kB / 1.199 GB, free: 7.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.333, allocations: 221 kB / 1.199 GB, free: 7.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/1.337, allocations: 2.562 MB / 1.202 GB, free: 6.035 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/1.338, allocations: 0.5009 MB / 1.202 GB, free: 5.898 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006973/1.339, allocations: 209.2 kB / 1.203 GB, free: 5.863 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/1.339, allocations: 65.5 kB / 1.203 GB, free: 5.855 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/1.339, allocations: 0 / 1.203 GB, free: 5.855 MB / 1.076 GB Notification: Performance of Templates: time 0.03675/1.376, allocations: 15.71 MB / 1.218 GB, free: 4.188 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.288084505009465]