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.0019/0.0019, allocations: 77.33 kB / 19.18 MB, free: 2.512 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.002341/0.002341, allocations: 162.3 kB / 22.45 MB, free: 5.391 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.934/2.934, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.142e-05, allocations: 6.219 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.009051/0.009082, allocations: 3.98 MB / 0.9853 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008706/0.01779, allocations: 2.848 MB / 0.9881 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.01882, allocations: 27.75 kB / 0.9881 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.02048, allocations: 357.5 kB / 0.9884 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.02308, allocations: 0.7161 MB / 0.9891 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.02564, allocations: 0.6691 MB / 0.9898 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003584/0.02923, allocations: 1.944 MB / 0.9917 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004777/0.02971, allocations: 114.5 kB / 0.9918 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.03258, allocations: 0.8146 MB / 0.9926 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.03467, allocations: 0.6274 MB / 0.9932 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.03505, allocations: 76 kB / 0.9933 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.03667, allocations: 415.2 kB / 0.9937 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.03782, allocations: 0.4986 MB / 0.9941 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.03916, allocations: 411 kB / 0.9945 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.04249, allocations: 1.515 MB / 0.996 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.04249, allocations: 0 / 0.996 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.04249, allocations: 0 / 0.996 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.93e-05/0.04254, allocations: 0 / 0.996 GB, free: 12.96 MB / 0.9512 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.003728/0.04627, allocations: 1.586 MB / 0.9976 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.04631, allocations: 12.03 kB / 0.9976 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.04677, allocations: 152 kB / 0.9977 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.04821, allocations: 0.789 MB / 0.9985 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.04825, allocations: 41.38 kB / 0.9985 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.04837, allocations: 72.34 kB / 0.9986 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.04934, allocations: 0.6143 MB / 0.9992 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.04936, allocations: 192 / 0.9992 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.04941, allocations: 20.12 kB / 0.9992 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.04942, allocations: 8 kB / 0.9992 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.05027, allocations: 0.5621 MB / 0.9998 GB, free: 9.027 MB / 0.9512 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.00459/0.05486, allocations: 2.231 MB / 1.002 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.05648, allocations: 0.8127 MB / 1.003 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.05698, allocations: 353.4 kB / 1.003 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.05705, allocations: 24.36 kB / 1.003 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.05708, allocations: 38.94 kB / 1.003 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/0.05709, allocations: 0 / 1.003 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001958/0.05904, allocations: 1.115 MB / 1.004 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.0591, allocations: 59.41 kB / 1.004 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.06081, allocations: 1.239 MB / 1.006 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.06087, allocations: 41.7 kB / 1.006 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.0613, allocations: 473.3 kB / 1.006 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.06149, allocations: 178.4 kB / 1.006 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.06177, allocations: 210.6 kB / 1.006 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.06194, allocations: 349.9 kB / 1.007 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000847/0.06278, allocations: 0.6426 MB / 1.007 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.06388, allocations: 0.9671 MB / 1.008 GB, free: 48 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.06582, allocations: 1.588 MB / 1.01 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.06582, allocations: 0 / 1.01 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002685/0.06851, allocations: 1.799 MB / 1.012 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.06854, allocations: 14.17 kB / 1.012 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.06857, allocations: 12 kB / 1.012 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.06879, allocations: 45.31 kB / 1.012 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.07059, allocations: 279.5 kB / 1.012 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.07713, allocations: 6.702 MB / 1.018 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.07902, allocations: 139 kB / 1.019 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.07912, allocations: 36 kB / 1.019 GB, free: 5.004 MB / 0.9669 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.0006899/0.07981, allocations: 309.9 kB / 1.019 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.0801, allocations: 115.2 kB / 1.019 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.08208, allocations: 0.8389 MB / 1.02 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.08209, allocations: 7.938 kB / 1.02 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.08209, allocations: 0 / 1.02 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.0821, allocations: 7.984 kB / 1.02 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.08356, allocations: 0.6717 MB / 1.021 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.08356, allocations: 0 / 1.021 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008799/0.08444, allocations: 115.9 kB / 1.021 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.08463, allocations: 36.77 kB / 1.021 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.08469, allocations: 15.98 kB / 1.021 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.08628, allocations: 1.311 MB / 1.022 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.08628, allocations: 4.062 kB / 1.022 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.08911, allocations: 1.374 MB / 1.023 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/0.0898, allocations: 191.2 kB / 1.023 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.09, allocations: 12 kB / 1.024 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.09101, allocations: 31.95 kB / 1.024 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.09113, allocations: 31.94 kB / 1.024 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.09117, allocations: 12 kB / 1.024 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001884/0.09305, allocations: 0.8311 MB / 1.024 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.09305, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00176/0.09481, allocations: 367.6 kB / 1.025 GB, free: 14.55 MB / 0.9825 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.0008518/0.09567, allocations: 294.8 kB / 1.025 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003803/0.09947, allocations: 1.393 MB / 1.026 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.09947, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.1004, allocations: 466.5 kB / 1.027 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.1021, allocations: 220.8 kB / 1.027 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.1071, allocations: 2.277 MB / 1.029 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.1079, allocations: 0.5107 MB / 1.03 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000789/0.1087, allocations: 203.1 kB / 1.03 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.1091, allocations: 68.44 kB / 1.03 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.1091, allocations: 0 / 1.03 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Templates: time 0.03913/0.1482, allocations: 15.53 MB / 1.045 GB, free: 9.84 MB / 0.9981 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.89255340769887]