Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001529/0.001529, allocations: 110 kB / 19.7 MB, free: 2.25 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.001761/0.001761, allocations: 221.7 kB / 23.01 MB, free: 5.082 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.973 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 2.905/2.905, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [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.001974/0.001974, allocations: 72.81 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004006/0.2862, allocations: 2.794 MB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.2902, allocations: 2.874 MB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.2904, allocations: 11.88 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.2918, allocations: 0.502 MB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.2923, allocations: 294.8 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009455/0.2933, allocations: 416.1 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.2953, allocations: 1.584 MB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.2955, allocations: 74.36 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.2962, allocations: 486.8 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.2969, allocations: 430.5 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.297, allocations: 48 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2972, allocations: 60 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.2975, allocations: 291.2 kB / 1.337 GB, free: 7.562 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.2979, allocations: 378.1 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.299, allocations: 0.9224 MB / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.299, allocations: 0 / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.299, allocations: 0 / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.299, allocations: 0 / 1.338 GB, free: 6.266 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002291/0.3013, allocations: 1.1 MB / 1.339 GB, free: 5.133 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3014, allocations: 12.03 kB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.3016, allocations: 84.41 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3027, allocations: 0.6266 MB / 1.34 GB, free: 4.391 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.3027, allocations: 28.88 kB / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.3028, allocations: 44.33 kB / 1.34 GB, free: 4.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.3033, allocations: 374 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3033, allocations: 0 / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.3034, allocations: 12 kB / 1.34 GB, free: 3.922 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3034, allocations: 4 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.3038, allocations: 241.5 kB / 1.34 GB, free: 3.68 MB / 1.029 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.00367/0.3074, allocations: 2.428 MB / 1.343 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/0.3084, allocations: 386.5 kB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3086, allocations: 128.7 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3086, allocations: 3.984 kB / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.3087, allocations: 42.56 kB / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.3087, allocations: 0 / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009439/0.3096, allocations: 483.7 kB / 1.344 GB, free: 16 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3097, allocations: 55.41 kB / 1.344 GB, free: 15.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.3109, allocations: 0.9338 MB / 1.345 GB, free: 15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.3109, allocations: 41.69 kB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3112, allocations: 300.8 kB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.3113, allocations: 75.33 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3114, allocations: 130.3 kB / 1.345 GB, free: 14.45 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.3116, allocations: 382.7 kB / 1.346 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.312, allocations: 237.1 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.3125, allocations: 0.5021 MB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.3134, allocations: 0.6962 MB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3134, allocations: 4 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001226/0.3146, allocations: 0.8198 MB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3147, allocations: 12.84 kB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3147, allocations: 8 kB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.3149, allocations: 60.77 kB / 1.348 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.3153, allocations: 139.8 kB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3166, allocations: 1.431 MB / 1.349 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.3172, allocations: 131.4 kB / 1.35 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.3173, allocations: 28 kB / 1.35 GB, free: 9.629 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0003964/0.3177, allocations: 346 kB / 1.35 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3178, allocations: 63.52 kB / 1.35 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3179, allocations: 69.94 kB / 1.35 GB, free: 9.145 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3179, allocations: 0 / 1.35 GB, free: 9.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3179, allocations: 0 / 1.35 GB, free: 9.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3179, allocations: 3.938 kB / 1.35 GB, free: 9.141 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.3186, allocations: 0.5587 MB / 1.351 GB, free: 8.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3186, allocations: 0 / 1.351 GB, free: 8.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3188, allocations: 47.89 kB / 1.351 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.3189, allocations: 44.83 kB / 1.351 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3189, allocations: 11.98 kB / 1.351 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3201, allocations: 1.423 MB / 1.352 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3201, allocations: 0 / 1.352 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.3209, allocations: 0.5757 MB / 1.353 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.3212, allocations: 127.5 kB / 1.353 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.3212, allocations: 8 kB / 1.353 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3216, allocations: 47.86 kB / 1.353 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3217, allocations: 15.97 kB / 1.353 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.3217, allocations: 4 kB / 1.353 GB, free: 6.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008659/0.3225, allocations: 0.6629 MB / 1.353 GB, free: 5.438 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3225, allocations: 0 / 1.353 GB, free: 5.438 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006165/0.3232, allocations: 191.8 kB / 1.354 GB, free: 5.25 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0001334/0.3233, allocations: 115.1 kB / 1.354 GB, free: 5.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009234/0.3242, allocations: 0.5496 MB / 1.354 GB, free: 4.566 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3242, allocations: 1.812 kB / 1.354 GB, free: 4.566 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.3246, allocations: 243.8 kB / 1.355 GB, free: 4.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.3253, allocations: 176.4 kB / 1.355 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.3276, allocations: 1.583 MB / 1.356 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007076/0.3283, allocations: 1.003 MB / 1.357 GB, free: 1.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3284, allocations: 39.44 kB / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of SimCode: time 8.12e-07/0.3284, allocations: 0 / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of Templates: time 0.01598/0.3444, allocations: 12.42 MB / 1.369 GB, free: 5.074 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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: 11.61718652799027]