Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 100.9 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB 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: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8576, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004011/0.8617, allocations: 2.737 MB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.8662, allocations: 2.782 MB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.8666, allocations: 9.125 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.8684, allocations: 499.1 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006983/0.8692, allocations: 256.8 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.8705, allocations: 399.5 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.8728, allocations: 1.538 MB / 1.097 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.8731, allocations: 145 kB / 1.097 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000887/0.874, allocations: 472.5 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.8746, allocations: 388.7 kB / 1.098 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.8747, allocations: 47.09 kB / 1.098 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.8749, allocations: 49.53 kB / 1.098 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.8753, allocations: 273 kB / 1.098 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.8758, allocations: 372.7 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.8769, allocations: 0.9084 MB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.877, allocations: 4.656 kB / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-05/0.877, allocations: 0 / 1.099 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.877, allocations: 3.938 kB / 1.099 GB, free: 15.52 MB / 0.8731 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.00248/0.8795, allocations: 1.142 MB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8795, allocations: 13.66 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.8797, allocations: 82 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.8809, allocations: 0.6691 MB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.881, allocations: 27.31 kB / 1.101 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.881, allocations: 39.09 kB / 1.101 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.8818, allocations: 379.5 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8818, allocations: 0.8438 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.8819, allocations: 14.91 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.8819, allocations: 9.812 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.8824, allocations: 240.6 kB / 1.102 GB, free: 14.03 MB / 0.8731 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.004174/0.8866, allocations: 2.451 MB / 1.104 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8876, allocations: 387.4 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.8879, allocations: 150.3 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.8879, allocations: 2.562 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.888, allocations: 36.14 kB / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.888, allocations: 0 / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001097/0.8891, allocations: 0.5311 MB / 1.105 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.8891, allocations: 57.84 kB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.8907, allocations: 0.9379 MB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.8907, allocations: 35.98 kB / 1.106 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.891, allocations: 300.4 kB / 1.106 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.8911, allocations: 66.66 kB / 1.106 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.8913, allocations: 121.4 kB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.8915, allocations: 385 kB / 1.107 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.892, allocations: 246.8 kB / 1.107 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.8927, allocations: 0.5025 MB / 1.108 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009175/0.8936, allocations: 0.6917 MB / 1.108 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.8936, allocations: 2.812 kB / 1.108 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001385/0.895, allocations: 0.8181 MB / 1.109 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.895, allocations: 9.594 kB / 1.109 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.895, allocations: 9.125 kB / 1.109 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.8953, allocations: 54.22 kB / 1.109 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.8958, allocations: 146.2 kB / 1.109 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.8972, allocations: 1.533 MB / 1.111 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/0.898, allocations: 127.3 kB / 1.111 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.8981, allocations: 26.47 kB / 1.111 GB, free: 7.906 MB / 0.8731 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.0005535/0.8986, allocations: 344.6 kB / 1.111 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.8988, allocations: 63.05 kB / 1.111 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.8989, allocations: 71.11 kB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.899, allocations: 2.062 kB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.899, allocations: 8.438 kB / 1.111 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.899, allocations: 1.797 kB / 1.111 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/0.8999, allocations: 0.5753 MB / 1.112 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8999, allocations: 0 / 1.112 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.9002, allocations: 57.81 kB / 1.112 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.9003, allocations: 37.73 kB / 1.112 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.9003, allocations: 13.86 kB / 1.112 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.9016, allocations: 1.535 MB / 1.114 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9016, allocations: 0 / 1.114 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.9025, allocations: 0.5663 MB / 1.114 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.9028, allocations: 201 kB / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.9029, allocations: 10.66 kB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.9033, allocations: 50.03 kB / 1.114 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.9034, allocations: 17.7 kB / 1.114 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.9034, allocations: 3.875 kB / 1.114 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001/0.9044, allocations: 0.6626 MB / 1.115 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9044, allocations: 1 kB / 1.115 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007748/0.9052, allocations: 178.7 kB / 1.115 GB, free: 5.059 MB / 0.8731 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.0001641/0.9054, allocations: 109.4 kB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009949/0.9064, allocations: 0.5724 MB / 1.116 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9064, allocations: 0 / 1.116 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.9067, allocations: 245.9 kB / 1.116 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.9076, allocations: 169.1 kB / 1.116 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.9102, allocations: 1.549 MB / 1.118 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.9109, allocations: 1.002 MB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.9111, allocations: 37.38 kB / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.9111, allocations: 4 kB / 1.119 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.02506/0.9362, allocations: 12.37 MB / 1.131 GB, free: 1.25 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches