Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001738/0.001738, allocations: 118.1 kB / 17.13 MB, free: 5.758 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.002665/0.002665, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.392/1.392, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 59.91 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006282/0.35, allocations: 4.378 MB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006296/0.3563, allocations: 2.962 MB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008317/0.3571, allocations: 23.88 kB / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.3583, allocations: 365.7 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.3599, allocations: 0.6532 MB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.3618, allocations: 0.6341 MB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.3644, allocations: 1.886 MB / 1.225 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.3647, allocations: 121.8 kB / 1.225 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3658, allocations: 0.5996 MB / 1.225 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3669, allocations: 0.6889 MB / 1.226 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.367, allocations: 79.94 kB / 1.226 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008576/0.3679, allocations: 419.4 kB / 1.227 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005665/0.3685, allocations: 474.5 kB / 1.227 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006756/0.3691, allocations: 0.5945 MB / 1.228 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.3709, allocations: 1.474 MB / 1.229 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3709, allocations: 4 kB / 1.229 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3709, allocations: 0 / 1.229 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.371, allocations: 0 / 1.229 GB, free: 1.516 MB / 0.9669 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.003369/0.3743, allocations: 1.667 MB / 1.231 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3744, allocations: 15.97 kB / 1.231 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.3747, allocations: 144 kB / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.3761, allocations: 0.832 MB / 1.232 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.3761, allocations: 45.38 kB / 1.232 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3763, allocations: 64.33 kB / 1.232 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3773, allocations: 0.6197 MB / 1.232 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3773, allocations: 3.938 kB / 1.232 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.3773, allocations: 20 kB / 1.232 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.3774, allocations: 12 kB / 1.232 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.3782, allocations: 0.5543 MB / 1.233 GB, free: 13.42 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.005204/0.3834, allocations: 3.286 MB / 1.236 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3851, allocations: 0.8112 MB / 1.237 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.3857, allocations: 352.2 kB / 1.237 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.3858, allocations: 20.36 kB / 1.237 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3858, allocations: 38.94 kB / 1.237 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 3.046e-06/0.3858, allocations: 0 / 1.237 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002035/0.3878, allocations: 1.19 MB / 1.238 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3879, allocations: 59.41 kB / 1.238 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.3899, allocations: 1.224 MB / 1.24 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.39, allocations: 41.7 kB / 1.24 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.3904, allocations: 477.2 kB / 1.24 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.3906, allocations: 174.5 kB / 1.24 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.3909, allocations: 214.5 kB / 1.241 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3911, allocations: 349.9 kB / 1.241 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008516/0.3919, allocations: 0.6426 MB / 1.242 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.3932, allocations: 0.9786 MB / 1.242 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.3952, allocations: 1.582 MB / 1.244 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3952, allocations: 4 kB / 1.244 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002697/0.3979, allocations: 1.787 MB / 1.246 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3979, allocations: 15.94 kB / 1.246 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.398, allocations: 12 kB / 1.246 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.3982, allocations: 49.33 kB / 1.246 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.3994, allocations: 263.7 kB / 1.246 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/0.4044, allocations: 6.84 MB / 1.253 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.4054, allocations: 131.3 kB / 1.253 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.4055, allocations: 43.98 kB / 1.253 GB, free: 7.914 MB / 0.9981 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.000451/0.4059, allocations: 306 kB / 1.253 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.4061, allocations: 115.2 kB / 1.253 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.4075, allocations: 0.8502 MB / 1.254 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4075, allocations: 7.938 kB / 1.254 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4075, allocations: 0 / 1.254 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4075, allocations: 4 kB / 1.254 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4086, allocations: 0.9113 MB / 1.255 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4086, allocations: 0 / 1.255 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.4092, allocations: 111.8 kB / 1.255 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.4093, allocations: 32.83 kB / 1.255 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.4094, allocations: 19.98 kB / 1.255 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.4106, allocations: 1.437 MB / 1.257 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4106, allocations: 4.031 kB / 1.257 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.4125, allocations: 1.366 MB / 1.258 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.4129, allocations: 272.1 kB / 1.258 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.413, allocations: 15.98 kB / 1.258 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.4136, allocations: 28.03 kB / 1.258 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.4137, allocations: 31.95 kB / 1.258 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.4137, allocations: 8 kB / 1.258 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001235/0.4149, allocations: 0.8194 MB / 1.259 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4149, allocations: 0 / 1.259 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001136/0.4161, allocations: 371.5 kB / 1.259 GB, free: 0.9727 MB / 0.9981 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.0005716/0.4166, allocations: 278.8 kB / 1.26 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5489/0.9655, allocations: 1.387 MB / 1.261 GB, free: 49.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.9655, allocations: 2.875 kB / 1.261 GB, free: 49.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.9661, allocations: 462.5 kB / 1.262 GB, free: 49.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9673, allocations: 230.9 kB / 1.262 GB, free: 49.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.9702, allocations: 2.617 MB / 1.264 GB, free: 48.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.9706, allocations: 1.097 MB / 1.265 GB, free: 47.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.9709, allocations: 72.05 kB / 1.265 GB, free: 47.53 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/0.9709, allocations: 0 / 1.265 GB, free: 47.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.04514/1.016, allocations: 30.87 MB / 1.296 GB, free: 40.18 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.715665449155495]