Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001259/0.001259, allocations: 105 kB / 16.41 MB, free: 6.465 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.001253/0.001253, allocations: 187 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 60.12 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7383, allocations: 151.6 MB / 1.167 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003864/0.7422, allocations: 2.74 MB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.7461, allocations: 2.779 MB / 1.173 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.7465, allocations: 11.94 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.7479, allocations: 494 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.7486, allocations: 252.8 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.7496, allocations: 403 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.7514, allocations: 1.538 MB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.7517, allocations: 130.3 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.7524, allocations: 482.7 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.753, allocations: 378.6 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.7531, allocations: 48 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.7533, allocations: 48 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.7535, allocations: 275.2 kB / 1.177 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000448/0.754, allocations: 378.1 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000827/0.7548, allocations: 0.9152 MB / 1.178 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7549, allocations: 0 / 1.178 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7549, allocations: 0 / 1.178 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.339e-05/0.7549, allocations: 4 kB / 1.178 GB, free: 9.195 MB / 0.9044 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.002176/0.7571, allocations: 1.14 MB / 1.179 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7571, allocations: 12.03 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.7573, allocations: 76 kB / 1.179 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7584, allocations: 0.6798 MB / 1.18 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.7585, allocations: 28.94 kB / 1.18 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.7585, allocations: 36.38 kB / 1.18 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.7591, allocations: 378.9 kB / 1.18 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7591, allocations: 3.938 kB / 1.18 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.7591, allocations: 8 kB / 1.18 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.7592, allocations: 11.98 kB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.7595, allocations: 237.5 kB / 1.18 GB, free: 6.492 MB / 0.9044 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.003673/0.7632, allocations: 2.451 MB / 1.183 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7642, allocations: 402.4 kB / 1.183 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.7645, allocations: 140.7 kB / 1.183 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.7645, allocations: 4 kB / 1.183 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.7645, allocations: 30.56 kB / 1.183 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.7645, allocations: 0 / 1.183 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0009628/0.7655, allocations: 0.5364 MB / 1.184 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.7655, allocations: 51.41 kB / 1.184 GB, free: 2.641 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.7667, allocations: 0.9375 MB / 1.185 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.7668, allocations: 41.64 kB / 1.185 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.767, allocations: 300.5 kB / 1.185 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.7671, allocations: 67 kB / 1.185 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.7673, allocations: 122.2 kB / 1.185 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7674, allocations: 390.7 kB / 1.186 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.7678, allocations: 236.9 kB / 1.186 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.7683, allocations: 0.5051 MB / 1.186 GB, free: 15.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007788/0.7691, allocations: 0.7045 MB / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7691, allocations: 3.938 kB / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001207/0.7703, allocations: 0.8158 MB / 1.188 GB, free: 14.24 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7703, allocations: 8 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7703, allocations: 8 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.7706, allocations: 57.39 kB / 1.188 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.771, allocations: 139.8 kB / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.7723, allocations: 1.543 MB / 1.19 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.773, allocations: 131.1 kB / 1.19 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.773, allocations: 24 kB / 1.19 GB, free: 12.2 MB / 0.92 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.0003834/0.7734, allocations: 337.4 kB / 1.19 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.7735, allocations: 71.28 kB / 1.19 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.7737, allocations: 66 kB / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7737, allocations: 7.938 kB / 1.19 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7737, allocations: 0 / 1.19 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7737, allocations: 0 / 1.19 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006345/0.7743, allocations: 0.5752 MB / 1.191 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7743, allocations: 0 / 1.191 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.7746, allocations: 55.89 kB / 1.191 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.7748, allocations: 44.83 kB / 1.191 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.7748, allocations: 11.98 kB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.7761, allocations: 1.523 MB / 1.192 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.7761, allocations: 0 / 1.192 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.777, allocations: 0.5578 MB / 1.193 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.7775, allocations: 208.3 kB / 1.193 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.7776, allocations: 12 kB / 1.193 GB, free: 8.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.778, allocations: 47.86 kB / 1.193 GB, free: 8.445 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.7781, allocations: 11.98 kB / 1.193 GB, free: 8.434 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.7781, allocations: 4 kB / 1.193 GB, free: 8.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009775/0.7791, allocations: 0.659 MB / 1.194 GB, free: 7.773 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7791, allocations: 0 / 1.194 GB, free: 7.773 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007391/0.7798, allocations: 183.8 kB / 1.194 GB, free: 7.594 MB / 0.92 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.0001345/0.78, allocations: 115.2 kB / 1.194 GB, free: 7.473 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000964/0.781, allocations: 0.5722 MB / 1.195 GB, free: 6.891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.781, allocations: 7.938 kB / 1.195 GB, free: 6.883 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.7813, allocations: 242.5 kB / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.7821, allocations: 175.9 kB / 1.195 GB, free: 6.461 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.7844, allocations: 1.562 MB / 1.197 GB, free: 4.863 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.785, allocations: 0.9987 MB / 1.198 GB, free: 3.836 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.7852, allocations: 39.44 kB / 1.198 GB, free: 3.797 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/0.7852, allocations: 0 / 1.198 GB, free: 3.797 MB / 0.92 GB Notification: Performance of Templates: time 0.01595/0.8011, allocations: 12.36 MB / 1.21 GB, free: 7.48 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches