Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 116.5 kB / 16.42 MB, free: 6.445 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.001742/0.001742, 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.354/1.354, 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 10.1.1-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.11 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6538/0.6551, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.00399/0.6592, allocations: 2.851 MB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00315/0.6624, allocations: 2.216 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.6627, allocations: 15.88 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.664, allocations: 403.9 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.6646, allocations: 274.7 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.6656, allocations: 343.9 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.6675, allocations: 1.694 MB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.6677, allocations: 142.3 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.6686, allocations: 0.6117 MB / 1.176 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.6694, allocations: 482.2 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.6695, allocations: 64 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.6697, allocations: 68 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004314/0.6702, allocations: 414.9 kB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006713/0.6708, allocations: 0.5247 MB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.6721, allocations: 1.328 MB / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6721, allocations: 3.938 kB / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6721, allocations: 0 / 1.178 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.171e-05/0.6722, allocations: 0 / 1.178 GB, free: 8.5 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003134/0.6753, allocations: 1.494 MB / 1.18 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6754, allocations: 16.88 kB / 1.18 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.6756, allocations: 107.6 kB / 1.18 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.6775, allocations: 1.004 MB / 1.181 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.6775, allocations: 33.03 kB / 1.181 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6776, allocations: 56.28 kB / 1.181 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.6784, allocations: 0.5393 MB / 1.182 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6785, allocations: 7.922 kB / 1.182 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.6785, allocations: 16 kB / 1.182 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.6785, allocations: 8 kB / 1.182 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.6791, allocations: 341.9 kB / 1.182 GB, free: 4.734 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.006472/0.6856, allocations: 3.843 MB / 1.186 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.6874, allocations: 0.6575 MB / 1.186 GB, free: 15.96 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.6877, allocations: 200.7 kB / 1.186 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.6877, allocations: 0 / 1.186 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.6878, allocations: 34.56 kB / 1.187 GB, free: 15.72 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.6878, allocations: 0 / 1.187 GB, free: 15.72 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001411/0.6892, allocations: 0.7645 MB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.6892, allocations: 55.41 kB / 1.187 GB, free: 14.86 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.6913, allocations: 1.417 MB / 1.189 GB, free: 13.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.6914, allocations: 33.7 kB / 1.189 GB, free: 13.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.6918, allocations: 420.8 kB / 1.189 GB, free: 12.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.6921, allocations: 106.5 kB / 1.189 GB, free: 12.87 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.6923, allocations: 150.2 kB / 1.189 GB, free: 12.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6924, allocations: 338 kB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.6928, allocations: 285.1 kB / 1.19 GB, free: 12.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.6934, allocations: 0.5901 MB / 1.191 GB, free: 11.37 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6944, allocations: 0.8914 MB / 1.191 GB, free: 10.33 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6944, allocations: 8 kB / 1.191 GB, free: 10.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001996/0.6964, allocations: 1.246 MB / 1.193 GB, free: 9.066 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6965, allocations: 8 kB / 1.193 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.6965, allocations: 12 kB / 1.193 GB, free: 9.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.6977, allocations: 453.8 kB / 1.193 GB, free: 8.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.698, allocations: 115.8 kB / 1.193 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.7039, allocations: 4.69 MB / 1.198 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.7052, allocations: 218.9 kB / 1.198 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.7053, allocations: 36 kB / 1.198 GB, free: 3.406 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005543/0.7059, allocations: 425.3 kB / 1.198 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.7061, allocations: 94.78 kB / 1.199 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.7064, allocations: 104.8 kB / 1.199 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7064, allocations: 4 kB / 1.199 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7064, allocations: 4 kB / 1.199 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7064, allocations: 0 / 1.199 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.7075, allocations: 0.9316 MB / 1.2 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7075, allocations: 0 / 1.2 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.708, allocations: 91.86 kB / 1.2 GB, free: 1.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.7081, allocations: 44.81 kB / 1.2 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.7082, allocations: 19.98 kB / 1.2 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.7093, allocations: 1.523 MB / 1.201 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7094, allocations: 32 / 1.201 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.7104, allocations: 0.8261 MB / 1.202 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.7111, allocations: 287.9 kB / 1.202 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.7112, allocations: 20.08 kB / 1.202 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/0.7119, allocations: 99.81 kB / 1.202 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.712, allocations: 15.98 kB / 1.202 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.712, allocations: 4 kB / 1.202 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001418/0.7135, allocations: 0.9939 MB / 1.203 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7135, allocations: 0 / 1.203 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001157/0.7146, allocations: 467.7 kB / 1.204 GB, free: 13.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.0001647/0.7148, allocations: 119.2 kB / 1.204 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.7166, allocations: 0.9315 MB / 1.205 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7167, allocations: 0 / 1.205 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.7171, allocations: 324.7 kB / 1.205 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.7185, allocations: 287.4 kB / 1.205 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.7221, allocations: 2.312 MB / 1.208 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/0.7229, allocations: 1.144 MB / 1.209 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.7232, allocations: 55.44 kB / 1.209 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.7232, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.02394/0.7471, allocations: 17.98 MB / 1.226 GB, free: 6.082 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches