Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001108/0.001108, allocations: 92 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 184.8 kB / 16.92 MB, free: 6.926 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437.8 MB / 0.7128 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003562, allocations: 8 kB / 0.8735 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6245, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002894/0.6274, allocations: 2.422 MB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.6314, allocations: 2.756 MB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.6318, allocations: 7.938 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.6331, allocations: 454.4 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.6338, allocations: 247 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.6347, allocations: 327.3 kB / 1.03 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.6367, allocations: 1.715 MB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.6369, allocations: 125.7 kB / 1.032 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007145/0.6376, allocations: 406.8 kB / 1.032 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.6383, allocations: 394.6 kB / 1.032 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.289e-05/0.6384, allocations: 20 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.6385, allocations: 24 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.6388, allocations: 239.2 kB / 1.033 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.6392, allocations: 347.9 kB / 1.033 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.6398, allocations: 0.7287 MB / 1.034 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6398, allocations: 0 / 1.034 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6399, allocations: 0 / 1.034 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.6399, allocations: 0 / 1.034 GB, free: 5.707 MB / 0.7794 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.001981/0.6419, allocations: 1.028 MB / 1.035 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6419, allocations: 12.03 kB / 1.035 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.6421, allocations: 76 kB / 1.035 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.6431, allocations: 0.6603 MB / 1.035 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.6431, allocations: 24.94 kB / 1.035 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.6432, allocations: 44.38 kB / 1.035 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.6438, allocations: 370.8 kB / 1.036 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6438, allocations: 4 kB / 1.036 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.6438, allocations: 12 kB / 1.036 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.6439, allocations: 8 kB / 1.036 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.6443, allocations: 241.5 kB / 1.036 GB, free: 3.133 MB / 0.7794 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.00377/0.6481, allocations: 2.478 MB / 1.038 GB, free: 476 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.6491, allocations: 398.5 kB / 1.039 GB, free: 68 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.6494, allocations: 152.7 kB / 1.039 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.6494, allocations: 4 kB / 1.039 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.6494, allocations: 30.56 kB / 1.039 GB, free: 15.87 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.6494, allocations: 0 / 1.039 GB, free: 15.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001199/0.6506, allocations: 0.5456 MB / 1.04 GB, free: 15.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.6507, allocations: 55.41 kB / 1.04 GB, free: 15.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.652, allocations: 0.9376 MB / 1.04 GB, free: 14.29 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.652, allocations: 29.7 kB / 1.041 GB, free: 14.25 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.6523, allocations: 300.4 kB / 1.041 GB, free: 13.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.6524, allocations: 71.09 kB / 1.041 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.6525, allocations: 69.67 kB / 1.041 GB, free: 13.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6527, allocations: 382.7 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.6531, allocations: 236.9 kB / 1.042 GB, free: 13.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.6536, allocations: 0.5014 MB / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.6545, allocations: 0.712 MB / 1.043 GB, free: 11.72 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6545, allocations: 4 kB / 1.043 GB, free: 11.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001304/0.6558, allocations: 0.8232 MB / 1.044 GB, free: 10.89 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6559, allocations: 9.094 kB / 1.044 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6559, allocations: 8 kB / 1.044 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.6561, allocations: 52.83 kB / 1.044 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.6566, allocations: 139.8 kB / 1.044 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.6578, allocations: 1.436 MB / 1.045 GB, free: 9.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.6585, allocations: 131.3 kB / 1.045 GB, free: 8.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.6586, allocations: 28 kB / 1.045 GB, free: 8.957 MB / 0.795 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.0004192/0.659, allocations: 341.9 kB / 1.046 GB, free: 8.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.6591, allocations: 59.25 kB / 1.046 GB, free: 8.555 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.6592, allocations: 66 kB / 1.046 GB, free: 8.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.6592, allocations: 7.938 kB / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6592, allocations: 0 / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6592, allocations: 0 / 1.046 GB, free: 8.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.6599, allocations: 0.5907 MB / 1.046 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.66, allocations: 4 kB / 1.046 GB, free: 7.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.6602, allocations: 47.95 kB / 1.046 GB, free: 7.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.6604, allocations: 40.83 kB / 1.046 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.6604, allocations: 11.98 kB / 1.046 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.6615, allocations: 1.416 MB / 1.048 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6615, allocations: 0 / 1.048 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.6623, allocations: 0.5743 MB / 1.048 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.6625, allocations: 208.1 kB / 1.049 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.6626, allocations: 15.98 kB / 1.049 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.663, allocations: 43.92 kB / 1.049 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.6631, allocations: 15.98 kB / 1.049 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.6631, allocations: 4 kB / 1.049 GB, free: 5.285 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008462/0.664, allocations: 0.6629 MB / 1.049 GB, free: 4.629 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.664, allocations: 0 / 1.049 GB, free: 4.629 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006976/0.6647, allocations: 183.8 kB / 1.049 GB, free: 4.449 MB / 0.795 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.0001346/0.6648, allocations: 103.2 kB / 1.05 GB, free: 4.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009204/0.6658, allocations: 0.581 MB / 1.05 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6658, allocations: 0 / 1.05 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.6661, allocations: 250.5 kB / 1.05 GB, free: 3.488 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.667, allocations: 166.9 kB / 1.051 GB, free: 3.324 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.6694, allocations: 1.847 MB / 1.052 GB, free: 1.445 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.67, allocations: 1.002 MB / 1.053 GB, free: 424 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.6702, allocations: 39.44 kB / 1.053 GB, free: 388 kB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/0.6702, allocations: 0 / 1.053 GB, free: 388 kB / 0.795 GB Notification: Performance of Templates: time 0.01702/0.6872, allocations: 12.17 MB / 1.065 GB, free: 4.25 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches