Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001593/0.001593, allocations: 108.4 kB / 15.99 MB, free: 6.359 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.001561/0.001561, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7427 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.03 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3198, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004265/0.3241, allocations: 2.783 MB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.3283, allocations: 2.758 MB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.3286, allocations: 11.94 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.3301, allocations: 470.2 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.3307, allocations: 235 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.3316, allocations: 371.2 kB / 1.071 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.3334, allocations: 1.556 MB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.3337, allocations: 146.2 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.3344, allocations: 486.8 kB / 1.073 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.3351, allocations: 434.5 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.3352, allocations: 51.98 kB / 1.073 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3353, allocations: 55.94 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.3356, allocations: 263.3 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.336, allocations: 370.2 kB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.3367, allocations: 0.7446 MB / 1.075 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3367, allocations: 0 / 1.075 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3368, allocations: 7.922 kB / 1.075 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3368, allocations: 0 / 1.075 GB, free: 4.379 MB / 0.8419 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.002115/0.3389, allocations: 1.14 MB / 1.076 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3389, allocations: 12.61 kB / 1.076 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.3391, allocations: 84 kB / 1.076 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009804/0.3401, allocations: 0.6448 MB / 1.076 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.3401, allocations: 28.94 kB / 1.076 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.3402, allocations: 36.38 kB / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.3408, allocations: 374.8 kB / 1.077 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3408, allocations: 4 kB / 1.077 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3409, allocations: 12 kB / 1.077 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3409, allocations: 8 kB / 1.077 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.3413, allocations: 233.5 kB / 1.077 GB, free: 1.703 MB / 0.8419 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.4597/0.801, allocations: 2.452 MB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.8021, allocations: 395.9 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.8023, allocations: 142.5 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.8024, allocations: 4.719 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.8024, allocations: 34.67 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.8024, allocations: 0 / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001043/0.8035, allocations: 0.5369 MB / 1.081 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.8035, allocations: 58.38 kB / 1.081 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.8046, allocations: 0.9316 MB / 1.081 GB, free: 21.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.8047, allocations: 36.58 kB / 1.082 GB, free: 21.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.8049, allocations: 305 kB / 1.082 GB, free: 21.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.8049, allocations: 68.41 kB / 1.082 GB, free: 21.15 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.8051, allocations: 127.6 kB / 1.082 GB, free: 21.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.8052, allocations: 388.3 kB / 1.082 GB, free: 20.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.8055, allocations: 239.7 kB / 1.083 GB, free: 20.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.806, allocations: 0.4973 MB / 1.083 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.8067, allocations: 0.6962 MB / 1.084 GB, free: 19.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.8067, allocations: 3.188 kB / 1.084 GB, free: 19.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001226/0.8079, allocations: 0.8205 MB / 1.085 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.808, allocations: 9.922 kB / 1.085 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.808, allocations: 9.25 kB / 1.085 GB, free: 19.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.8082, allocations: 53.94 kB / 1.085 GB, free: 19.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.8087, allocations: 138.1 kB / 1.085 GB, free: 19.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009718/0.8097, allocations: 1.539 MB / 1.086 GB, free: 18.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007042/0.8104, allocations: 133.3 kB / 1.086 GB, free: 18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.8105, allocations: 27.56 kB / 1.086 GB, free: 18 MB / 0.8419 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.0003564/0.8108, allocations: 346.3 kB / 1.087 GB, free: 17.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.8109, allocations: 62.12 kB / 1.087 GB, free: 17.76 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.811, allocations: 68.64 kB / 1.087 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.811, allocations: 2.125 kB / 1.087 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.8111, allocations: 4.516 kB / 1.087 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8111, allocations: 1.984 kB / 1.087 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.8118, allocations: 0.5788 MB / 1.087 GB, free: 17.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.8118, allocations: 0.6094 kB / 1.087 GB, free: 17.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.8121, allocations: 49.95 kB / 1.087 GB, free: 17.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.8122, allocations: 37.52 kB / 1.088 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.8123, allocations: 13.8 kB / 1.088 GB, free: 17.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007991/0.8131, allocations: 1.531 MB / 1.089 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8131, allocations: 8.531 kB / 1.089 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.8138, allocations: 0.5631 MB / 1.09 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.814, allocations: 198.8 kB / 1.09 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.8141, allocations: 17.66 kB / 1.09 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.8145, allocations: 47.59 kB / 1.09 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.8146, allocations: 13.97 kB / 1.09 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.8146, allocations: 4.844 kB / 1.09 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008518/0.8155, allocations: 0.6591 MB / 1.091 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8155, allocations: 0 / 1.091 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000667/0.8161, allocations: 186.6 kB / 1.091 GB, free: 15.18 MB / 0.8419 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.8163, allocations: 114.3 kB / 1.091 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009039/0.8172, allocations: 0.5892 MB / 1.091 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8172, allocations: 0 / 1.091 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.8175, allocations: 250.5 kB / 1.092 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.8183, allocations: 175 kB / 1.092 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.8205, allocations: 1.743 MB / 1.093 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.8211, allocations: 0.9991 MB / 1.094 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.8212, allocations: 37.34 kB / 1.094 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.8212, allocations: 0 / 1.094 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.021/0.8423, allocations: 12.26 MB / 1.106 GB, free: 11.86 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches