Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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: 113 kB / 18.94 MB, free: 2.934 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.002024/0.002024, allocations: 210.9 kB / 22.25 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 8.031 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.965/2.965, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") [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.001919/0.001919, allocations: 65.88 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003898/0.3431, allocations: 2.782 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003889/0.3469, allocations: 2.885 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.3471, allocations: 7.938 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.3484, allocations: 0.5098 MB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.3489, allocations: 298.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.3498, allocations: 411 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3515, allocations: 1.583 MB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.3517, allocations: 76.44 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.3523, allocations: 478.9 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.3529, allocations: 430.5 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.375e-05/0.3529, allocations: 52 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3531, allocations: 59.98 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.3534, allocations: 287.2 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.3537, allocations: 378.2 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009068/0.3546, allocations: 0.9302 MB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3546, allocations: 0 / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3546, allocations: 0 / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3547, allocations: 0 / 1.337 GB, free: 6.285 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.002009/0.3567, allocations: 1.1 MB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3567, allocations: 12.03 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.3569, allocations: 84.45 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3579, allocations: 0.6188 MB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.358, allocations: 28.88 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.358, allocations: 44.33 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.3586, allocations: 374 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3586, allocations: 3.984 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3586, allocations: 8 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.3586, allocations: 16 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.359, allocations: 237.5 kB / 1.34 GB, free: 3.699 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.003422/0.3624, allocations: 2.42 MB / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.3633, allocations: 396.1 kB / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3635, allocations: 136.6 kB / 1.342 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3636, allocations: 0 / 1.342 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3636, allocations: 34.56 kB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.3636, allocations: 0 / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008636/0.3644, allocations: 475.9 kB / 1.343 GB, free: 48 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.3645, allocations: 59.34 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3656, allocations: 0.9338 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3657, allocations: 37.7 kB / 1.344 GB, free: 14.99 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.3659, allocations: 308.7 kB / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.366, allocations: 79.31 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.3661, allocations: 122.3 kB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3663, allocations: 390.7 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3667, allocations: 241.1 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.3672, allocations: 0.5021 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.368, allocations: 0.6923 MB / 1.346 GB, free: 12.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.368, allocations: 4 kB / 1.346 GB, free: 12.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001162/0.3692, allocations: 0.8142 MB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3692, allocations: 8 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3692, allocations: 12.12 kB / 1.347 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.3694, allocations: 52.81 kB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.3698, allocations: 139.7 kB / 1.347 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.371, allocations: 1.443 MB / 1.349 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.3716, allocations: 127.4 kB / 1.349 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.3717, allocations: 31.98 kB / 1.349 GB, free: 9.648 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.0003448/0.372, allocations: 334.1 kB / 1.349 GB, free: 9.312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/0.3721, allocations: 71.5 kB / 1.349 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.3722, allocations: 69.94 kB / 1.349 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3722, allocations: 0 / 1.349 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3722, allocations: 0 / 1.349 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3722, allocations: 4 kB / 1.349 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.3728, allocations: 0.5509 MB / 1.35 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3728, allocations: 0 / 1.35 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.3731, allocations: 67.83 kB / 1.35 GB, free: 8.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.3732, allocations: 40.75 kB / 1.35 GB, free: 8.461 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.3732, allocations: 11.98 kB / 1.35 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3743, allocations: 1.42 MB / 1.351 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3743, allocations: 0 / 1.351 GB, free: 6.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.375, allocations: 0.5735 MB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.3753, allocations: 127.5 kB / 1.352 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.3753, allocations: 11.98 kB / 1.352 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.3757, allocations: 47.86 kB / 1.352 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3758, allocations: 15.97 kB / 1.352 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3758, allocations: 4 kB / 1.352 GB, free: 6.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008173/0.3766, allocations: 0.6629 MB / 1.353 GB, free: 5.457 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 4 kB / 1.353 GB, free: 5.453 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005645/0.3772, allocations: 187.8 kB / 1.353 GB, free: 5.27 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.000111/0.3773, allocations: 99.25 kB / 1.353 GB, free: 5.164 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00084/0.3781, allocations: 0.5588 MB / 1.354 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3781, allocations: 0 / 1.354 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.3784, allocations: 246.5 kB / 1.354 GB, free: 4.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.3792, allocations: 175.6 kB / 1.354 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3812, allocations: 1.549 MB / 1.355 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.3818, allocations: 1.01 MB / 1.356 GB, free: 1.559 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.3822, allocations: 184.5 kB / 1.357 GB, free: 1.375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3823, allocations: 35.44 kB / 1.357 GB, free: 1.34 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3823, allocations: 0 / 1.357 GB, free: 1.34 MB / 1.045 GB Notification: Performance of Templates: time 0.01451/0.3968, allocations: 8.797 MB / 1.365 GB, free: 8.652 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.402745063882321]