Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.002079/0.002079, allocations: 187 kB / 17.34 MB, free: 5.742 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 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.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 67.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.767, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003821/0.7709, allocations: 2.746 MB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.7747, allocations: 2.775 MB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.775, allocations: 9.156 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.7765, allocations: 0.4891 MB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.7772, allocations: 254.4 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.7784, allocations: 395.7 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.7805, allocations: 1.545 MB / 1.097 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.7808, allocations: 136.7 kB / 1.097 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007798/0.7816, allocations: 476.6 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.7822, allocations: 388.7 kB / 1.098 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.7823, allocations: 47.09 kB / 1.098 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.7825, allocations: 53.56 kB / 1.098 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.7828, allocations: 272.9 kB / 1.098 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00049/0.7833, allocations: 371.9 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.7844, allocations: 0.9122 MB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.7844, allocations: 1.969 kB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7844, allocations: 0 / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.7845, allocations: 4 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.002341/0.7868, allocations: 1.143 MB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7869, allocations: 13.16 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.787, allocations: 78.06 kB / 1.1 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.7881, allocations: 0.6665 MB / 1.101 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.7882, allocations: 26.5 kB / 1.101 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.7883, allocations: 40.16 kB / 1.101 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006887/0.789, allocations: 379.2 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.789, allocations: 0.875 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.789, allocations: 10.03 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.7891, allocations: 10.16 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.7896, allocations: 236.7 kB / 1.102 GB, free: 14.04 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.003885/0.7935, allocations: 2.454 MB / 1.104 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.7945, allocations: 392.1 kB / 1.104 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.7948, allocations: 150.1 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7948, allocations: 6.688 kB / 1.105 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.7948, allocations: 32.77 kB / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.7948, allocations: 0 / 1.105 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001043/0.7959, allocations: 0.5349 MB / 1.105 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7959, allocations: 52.59 kB / 1.105 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7973, allocations: 0.942 MB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.7974, allocations: 35.73 kB / 1.106 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.7977, allocations: 300.8 kB / 1.106 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.7978, allocations: 70.39 kB / 1.107 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.798, allocations: 121.7 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.7982, allocations: 385.2 kB / 1.107 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.7986, allocations: 238.2 kB / 1.107 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.7992, allocations: 0.5063 MB / 1.108 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/0.8001, allocations: 0.6993 MB / 1.108 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.8001, allocations: 2.031 kB / 1.108 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001359/0.8014, allocations: 0.8151 MB / 1.109 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.8015, allocations: 9.156 kB / 1.109 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.8015, allocations: 10.62 kB / 1.109 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.8017, allocations: 52.89 kB / 1.109 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.8022, allocations: 142.4 kB / 1.109 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.8036, allocations: 1.538 MB / 1.111 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.8044, allocations: 127 kB / 1.111 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.8045, allocations: 30.98 kB / 1.111 GB, free: 7.891 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.0005197/0.805, allocations: 344.8 kB / 1.111 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.8051, allocations: 62.47 kB / 1.111 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.8053, allocations: 66.53 kB / 1.111 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.8053, allocations: 3.031 kB / 1.112 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8053, allocations: 4.562 kB / 1.112 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.8053, allocations: 5.875 kB / 1.112 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.8062, allocations: 0.5744 MB / 1.112 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8062, allocations: 0 / 1.112 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.8065, allocations: 53.66 kB / 1.112 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001306/0.8066, allocations: 45.67 kB / 1.112 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.8067, allocations: 11.41 kB / 1.112 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.8079, allocations: 1.517 MB / 1.114 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8079, allocations: 9.25 kB / 1.114 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.8087, allocations: 0.5649 MB / 1.114 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.809, allocations: 202 kB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.8091, allocations: 10.55 kB / 1.114 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.8095, allocations: 45.73 kB / 1.114 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.8095, allocations: 18.95 kB / 1.114 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.8095, allocations: 3.75 kB / 1.114 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009779/0.8105, allocations: 0.6626 MB / 1.115 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8105, allocations: 0 / 1.115 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000717/0.8113, allocations: 179.3 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.0001277/0.8114, allocations: 107.6 kB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009703/0.8124, allocations: 0.579 MB / 1.116 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8124, allocations: 5.406 kB / 1.116 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.8127, allocations: 246.4 kB / 1.116 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.8136, allocations: 170.2 kB / 1.116 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.816, allocations: 1.543 MB / 1.118 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.8167, allocations: 0.9984 MB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.8169, allocations: 38.28 kB / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/0.8169, allocations: 0 / 1.119 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of Templates: time 0.02047/0.8374, allocations: 12.39 MB / 1.131 GB, free: 1.227 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches