Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001588/0.001588, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001814/0.001814, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002203/0.002203, allocations: 65.52 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.356, allocations: 170 MB / 1.285 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004768/0.3608, allocations: 2.8 MB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004709/0.3655, allocations: 2.866 MB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.3658, allocations: 15.88 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.3674, allocations: 0.5019 MB / 1.291 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006494/0.368, allocations: 298.8 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3691, allocations: 414.9 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.3711, allocations: 1.576 MB / 1.293 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.3713, allocations: 74.36 kB / 1.293 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007501/0.372, allocations: 486.7 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006758/0.3727, allocations: 430.5 kB / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.67e-05/0.3728, allocations: 48 kB / 1.294 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.3729, allocations: 67.98 kB / 1.294 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.3733, allocations: 291.1 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.3737, allocations: 366.2 kB / 1.295 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3747, allocations: 0.9302 MB / 1.295 GB, free: 156 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3747, allocations: 3.938 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3747, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3748, allocations: 0 / 1.295 GB, free: 152 kB / 0.9825 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.002305/0.3771, allocations: 1.104 MB / 1.297 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3771, allocations: 12.03 kB / 1.297 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.3773, allocations: 88.39 kB / 1.297 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.3785, allocations: 0.6188 MB / 1.297 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3785, allocations: 32.88 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.3786, allocations: 36.38 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.3791, allocations: 381.9 kB / 1.298 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3792, allocations: 4 kB / 1.298 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3792, allocations: 12 kB / 1.298 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3792, allocations: 8 kB / 1.298 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.3796, allocations: 229.5 kB / 1.298 GB, free: 13.56 MB / 0.9981 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.003763/0.3834, allocations: 2.428 MB / 1.3 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009945/0.3844, allocations: 390.5 kB / 1.301 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3846, allocations: 132.7 kB / 1.301 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3846, allocations: 0 / 1.301 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3846, allocations: 42.56 kB / 1.301 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.3846, allocations: 0 / 1.301 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009853/0.3856, allocations: 472.5 kB / 1.301 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3857, allocations: 55.41 kB / 1.301 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3869, allocations: 0.9338 MB / 1.302 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.3869, allocations: 33.7 kB / 1.302 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.3872, allocations: 312.8 kB / 1.303 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.3873, allocations: 79.31 kB / 1.303 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3874, allocations: 114.3 kB / 1.303 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3876, allocations: 386.7 kB / 1.303 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.388, allocations: 241.1 kB / 1.303 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.3886, allocations: 0.5023 MB / 1.304 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.3894, allocations: 0.6974 MB / 1.304 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3894, allocations: 3.938 kB / 1.304 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001244/0.3907, allocations: 0.8182 MB / 1.305 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3907, allocations: 8 kB / 1.305 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.3907, allocations: 8 kB / 1.305 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.3909, allocations: 56.81 kB / 1.305 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.3914, allocations: 139.8 kB / 1.305 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.3928, allocations: 1.431 MB / 1.307 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.3935, allocations: 135.5 kB / 1.307 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3935, allocations: 28 kB / 1.307 GB, free: 3.527 MB / 0.9981 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.0004363/0.3939, allocations: 341.4 kB / 1.307 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.394, allocations: 75.44 kB / 1.307 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.3942, allocations: 65.94 kB / 1.308 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3942, allocations: 0 / 1.308 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3942, allocations: 0 / 1.308 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3942, allocations: 4 kB / 1.308 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.3949, allocations: 0.5626 MB / 1.308 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3949, allocations: 0 / 1.308 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3951, allocations: 51.89 kB / 1.308 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.3952, allocations: 44.77 kB / 1.308 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3952, allocations: 7.984 kB / 1.308 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.3964, allocations: 1.42 MB / 1.31 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3964, allocations: 0 / 1.31 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.3972, allocations: 0.57 MB / 1.31 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.3975, allocations: 127.5 kB / 1.31 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.3976, allocations: 11.98 kB / 1.31 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.398, allocations: 51.86 kB / 1.31 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.3981, allocations: 11.97 kB / 1.31 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.3981, allocations: 8.078 kB / 1.31 GB, free: 15.99 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008836/0.399, allocations: 0.6629 MB / 1.311 GB, free: 15.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.399, allocations: 0 / 1.311 GB, free: 15.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006657/0.3996, allocations: 187.8 kB / 1.311 GB, free: 15.14 MB / 1.014 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.0001477/0.3998, allocations: 109.4 kB / 1.311 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009318/0.4007, allocations: 0.5601 MB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4007, allocations: 0.6875 kB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.4011, allocations: 246.4 kB / 1.312 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.4019, allocations: 176.1 kB / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4042, allocations: 1.579 MB / 1.314 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.405, allocations: 0.9987 MB / 1.315 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.4051, allocations: 39.44 kB / 1.315 GB, free: 11.36 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.4051, allocations: 0 / 1.315 GB, free: 11.36 MB / 1.014 GB Notification: Performance of Templates: time 0.01786/0.423, allocations: 12.44 MB / 1.327 GB, free: 14.97 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.947187289973954]