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.001635/0.001635, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001868/0.001868, allocations: 222.1 kB / 23 MB, free: 4.914 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.115/3.115, allocations: 0.4893 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] 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.002043/0.002043, allocations: 73.3 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005785/0.3173, allocations: 3.963 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005121/0.3224, allocations: 2.852 MB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.3228, allocations: 27.75 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.3237, allocations: 349.7 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.3252, allocations: 0.7012 MB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3267, allocations: 0.6626 MB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.3289, allocations: 1.906 MB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3292, allocations: 114.3 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009049/0.3301, allocations: 0.6035 MB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009967/0.3311, allocations: 0.6771 MB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3312, allocations: 87.92 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.332, allocations: 407.5 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.3326, allocations: 482.6 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.3332, allocations: 0.4975 MB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.3349, allocations: 1.51 MB / 1.341 GB, free: 2.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3349, allocations: 4 kB / 1.341 GB, free: 2.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3349, allocations: 0 / 1.341 GB, free: 2.992 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3349, allocations: 0 / 1.341 GB, free: 2.992 MB / 1.029 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.003308/0.3382, allocations: 1.598 MB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3382, allocations: 8.031 kB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.3386, allocations: 152 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.3401, allocations: 0.7859 MB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.3402, allocations: 45.38 kB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3403, allocations: 64.33 kB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009518/0.3412, allocations: 0.6178 MB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.3412, allocations: 4 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.3413, allocations: 19.94 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3413, allocations: 8 kB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.3421, allocations: 0.5621 MB / 1.344 GB, free: 15.04 MB / 1.045 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.004241/0.3464, allocations: 2.238 MB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.3478, allocations: 0.8105 MB / 1.347 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.3483, allocations: 341.4 kB / 1.348 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.861e-05/0.3484, allocations: 20.36 kB / 1.348 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3484, allocations: 38.88 kB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.3484, allocations: 0 / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001827/0.3502, allocations: 1.119 MB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3503, allocations: 55.41 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.352, allocations: 1.243 MB / 1.35 GB, free: 9.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.352, allocations: 41.7 kB / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.3524, allocations: 469.3 kB / 1.351 GB, free: 8.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.3526, allocations: 186.4 kB / 1.351 GB, free: 8.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.3529, allocations: 210.6 kB / 1.351 GB, free: 8.176 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3531, allocations: 349.9 kB / 1.351 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/0.3539, allocations: 0.6426 MB / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.3551, allocations: 0.9708 MB / 1.353 GB, free: 6.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.357, allocations: 1.582 MB / 1.355 GB, free: 4.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.357, allocations: 4 kB / 1.355 GB, free: 4.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002525/0.3595, allocations: 1.791 MB / 1.356 GB, free: 2.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3595, allocations: 12.16 kB / 1.356 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.3596, allocations: 23.97 kB / 1.356 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.3598, allocations: 40.84 kB / 1.356 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3609, allocations: 267.6 kB / 1.357 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/0.3656, allocations: 6.718 MB / 1.363 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3668, allocations: 135.1 kB / 1.363 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.3669, allocations: 44 kB / 1.363 GB, free: 11.01 MB / 1.061 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.0004505/0.3673, allocations: 298 kB / 1.364 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.3675, allocations: 131.1 kB / 1.364 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.3688, allocations: 0.8349 MB / 1.365 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3688, allocations: 4 kB / 1.365 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3688, allocations: 4 kB / 1.365 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3688, allocations: 3.984 kB / 1.365 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.3697, allocations: 0.6717 MB / 1.365 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3697, allocations: 0 / 1.365 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.3702, allocations: 107.9 kB / 1.365 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.3704, allocations: 40.7 kB / 1.365 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.3704, allocations: 19.98 kB / 1.365 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3715, allocations: 1.312 MB / 1.367 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3715, allocations: 0 / 1.367 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.3733, allocations: 1.378 MB / 1.368 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.3738, allocations: 191 kB / 1.368 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3739, allocations: 16 kB / 1.368 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.3745, allocations: 32.11 kB / 1.368 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.3746, allocations: 31.94 kB / 1.368 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3746, allocations: 15.94 kB / 1.368 GB, free: 5.766 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00119/0.3758, allocations: 0.8271 MB / 1.369 GB, free: 4.934 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3758, allocations: 0 / 1.369 GB, free: 4.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009897/0.3768, allocations: 371.6 kB / 1.369 GB, free: 4.57 MB / 1.061 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.000538/0.3773, allocations: 278.7 kB / 1.37 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.3798, allocations: 1.393 MB / 1.371 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3798, allocations: 0 / 1.371 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006171/0.3804, allocations: 462.5 kB / 1.372 GB, free: 2.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3815, allocations: 231.5 kB / 1.372 GB, free: 2.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.3853, allocations: 2.619 MB / 1.374 GB, free: 15.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.3859, allocations: 0.5029 MB / 1.375 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.3861, allocations: 71.42 kB / 1.375 GB, free: 14.92 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/0.3861, allocations: 0 / 1.375 GB, free: 14.92 MB / 1.076 GB Notification: Performance of Templates: time 0.03944/0.4256, allocations: 31.41 MB / 1.406 GB, free: 15.55 MB / 1.107 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/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: 14.646954524796456]