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.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.0011/0.0011, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001266/0.001266, allocations: 173.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.8595/0.8595, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.731/1.731, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.323e-06/1.323e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.801e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003309/0.003327, allocations: 3.973 MB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.006292, allocations: 2.855 MB / 1.008 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.006534, allocations: 31.69 kB / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.007155, allocations: 349.6 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.008146, allocations: 0.7113 MB / 1.009 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.008938, allocations: 0.6779 MB / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01006, allocations: 1.939 MB / 1.011 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.01024, allocations: 119.2 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.01093, allocations: 0.8223 MB / 1.012 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.01147, allocations: 0.6156 MB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.01155, allocations: 76 kB / 1.013 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.01197, allocations: 415.3 kB / 1.013 GB, free: 436 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.01228, allocations: 0.5064 MB / 1.014 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.01257, allocations: 418.9 kB / 1.014 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.01368, allocations: 1.503 MB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01369, allocations: 4 kB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01369, allocations: 0 / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.0137, allocations: 0 / 1.015 GB, free: 14 MB / 0.9792 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.001698/0.0154, allocations: 1.59 MB / 1.017 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.01544, allocations: 16.03 kB / 1.017 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.01568, allocations: 144 kB / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/0.01653, allocations: 0.7812 MB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.01655, allocations: 41.38 kB / 1.018 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.01662, allocations: 64.33 kB / 1.018 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.01717, allocations: 0.6144 MB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01719, allocations: 4.125 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.01721, allocations: 20.12 kB / 1.019 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.01722, allocations: 8 kB / 1.019 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.01772, allocations: 0.5621 MB / 1.019 GB, free: 10.07 MB / 0.9792 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.002283/0.02, allocations: 2.235 MB / 1.021 GB, free: 7.785 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.02091, allocations: 0.8088 MB / 1.022 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.0212, allocations: 349.4 kB / 1.023 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.02125, allocations: 24.36 kB / 1.023 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.02127, allocations: 34.94 kB / 1.023 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 1.543e-06/0.02127, allocations: 0 / 1.023 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.001101/0.02237, allocations: 1.113 MB / 1.024 GB, free: 5.434 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.02241, allocations: 63.34 kB / 1.024 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009794/0.02338, allocations: 1.247 MB / 1.025 GB, free: 4.102 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.02342, allocations: 45.64 kB / 1.025 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.02366, allocations: 465.4 kB / 1.025 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.02375, allocations: 178.4 kB / 1.026 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.02391, allocations: 210.5 kB / 1.026 GB, free: 3.203 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.024, allocations: 357.9 kB / 1.026 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.02452, allocations: 0.6426 MB / 1.027 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.02516, allocations: 0.971 MB / 1.028 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.02635, allocations: 1.584 MB / 1.029 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.02635, allocations: 4 kB / 1.029 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001421/0.02777, allocations: 1.791 MB / 1.031 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.02779, allocations: 9.719 kB / 1.031 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.02781, allocations: 12 kB / 1.031 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.02795, allocations: 44.83 kB / 1.031 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.02852, allocations: 267.6 kB / 1.031 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.03102, allocations: 6.718 MB / 1.038 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.03148, allocations: 131 kB / 1.038 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.03152, allocations: 47.97 kB / 1.038 GB, free: 6.031 MB / 0.9948 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.0002489/0.03177, allocations: 297.5 kB / 1.038 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.03186, allocations: 115.2 kB / 1.038 GB, free: 5.617 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.03262, allocations: 0.8416 MB / 1.039 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.03262, allocations: 11.92 kB / 1.039 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.03262, allocations: 0 / 1.039 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.03263, allocations: 4 kB / 1.039 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.03317, allocations: 0.6716 MB / 1.04 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.03318, allocations: 3.984 kB / 1.04 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.03345, allocations: 111.9 kB / 1.04 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.03352, allocations: 36.83 kB / 1.04 GB, free: 3.898 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.03355, allocations: 12 kB / 1.04 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005762/0.03412, allocations: 1.319 MB / 1.041 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.03412, allocations: 0 / 1.041 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.03518, allocations: 1.378 MB / 1.043 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.03543, allocations: 195.2 kB / 1.043 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.03558, allocations: 15.98 kB / 1.043 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.03587, allocations: 35.95 kB / 1.043 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.03593, allocations: 27.95 kB / 1.043 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.03594, allocations: 8 kB / 1.043 GB, free: 0.793 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007109/0.03665, allocations: 0.8311 MB / 1.044 GB, free: 15.95 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.03665, allocations: 0 / 1.044 GB, free: 15.95 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006174/0.03727, allocations: 371.5 kB / 1.044 GB, free: 15.59 MB / 1.01 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.0003766/0.03764, allocations: 296.8 kB / 1.044 GB, free: 15.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.039, allocations: 1.393 MB / 1.046 GB, free: 13.88 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.039, allocations: 0 / 1.046 GB, free: 13.88 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.03937, allocations: 463 kB / 1.046 GB, free: 13.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.03998, allocations: 220.5 kB / 1.046 GB, free: 13.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.04202, allocations: 2.34 MB / 1.049 GB, free: 10.83 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.04235, allocations: 0.5068 MB / 1.049 GB, free: 10.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.04251, allocations: 72.48 kB / 1.049 GB, free: 10.22 MB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.04251, allocations: 0 / 1.049 GB, free: 10.22 MB / 1.01 GB Notification: Performance of Templates: time 0.4114/0.4539, allocations: 31.54 MB / 1.08 GB, free: 91.1 MB / 1.01 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] 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: 9.40677940286696]