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.005365/0.005365, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001137/0.001137, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.529/2.529, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.018 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.9298, allocations: 151.6 MB / 1.167 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004338/0.9342, allocations: 2.84 MB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.9377, allocations: 2.221 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.938, allocations: 15.94 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.9393, allocations: 398.1 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.9399, allocations: 286.6 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.9407, allocations: 344.9 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.9425, allocations: 1.689 MB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.9427, allocations: 154.3 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007183/0.9435, allocations: 0.6 MB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.9441, allocations: 478.3 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.9442, allocations: 64 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.9443, allocations: 68 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.9448, allocations: 418.8 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.9453, allocations: 0.5249 MB / 1.176 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.9465, allocations: 1.335 MB / 1.178 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9466, allocations: 0 / 1.178 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.428e-06/0.9466, allocations: 4 kB / 1.178 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.9466, allocations: 0 / 1.178 GB, free: 8.574 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.002792/0.9494, allocations: 1.525 MB / 1.179 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9494, allocations: 12.88 kB / 1.179 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.9496, allocations: 116.2 kB / 1.179 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.9513, allocations: 1.005 MB / 1.18 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.9514, allocations: 37.03 kB / 1.18 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.9515, allocations: 52.33 kB / 1.18 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007757/0.9522, allocations: 0.551 MB / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.9523, allocations: 0 / 1.181 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.9523, allocations: 12 kB / 1.181 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.9523, allocations: 8 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.9528, allocations: 349.8 kB / 1.181 GB, free: 4.766 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.005965/0.9588, allocations: 3.847 MB / 1.185 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.9606, allocations: 0.6558 MB / 1.186 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.9608, allocations: 196.7 kB / 1.186 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.9609, allocations: 4 kB / 1.186 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.9609, allocations: 38.56 kB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.9609, allocations: 0 / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=26): time 0.001322/0.9623, allocations: 0.7666 MB / 1.187 GB, free: 14.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.9623, allocations: 55.41 kB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.9641, allocations: 1.417 MB / 1.188 GB, free: 13.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.9642, allocations: 37.7 kB / 1.188 GB, free: 13.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.9646, allocations: 421.2 kB / 1.189 GB, free: 12.99 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.9647, allocations: 115 kB / 1.189 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.9649, allocations: 150.3 kB / 1.189 GB, free: 12.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9651, allocations: 334 kB / 1.189 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.9655, allocations: 289.1 kB / 1.189 GB, free: 12.11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.9662, allocations: 0.5863 MB / 1.19 GB, free: 11.38 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.9673, allocations: 0.8875 MB / 1.191 GB, free: 10.35 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.9673, allocations: 4 kB / 1.191 GB, free: 10.35 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002037/0.9694, allocations: 1.251 MB / 1.192 GB, free: 9.086 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.9694, allocations: 16 kB / 1.192 GB, free: 9.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.9694, allocations: 8 kB / 1.192 GB, free: 9.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.9707, allocations: 456.3 kB / 1.192 GB, free: 8.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.971, allocations: 111.8 kB / 1.193 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.9769, allocations: 4.701 MB / 1.197 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.9783, allocations: 223.2 kB / 1.197 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.9784, allocations: 36.06 kB / 1.197 GB, free: 3.41 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.0006178/0.979, allocations: 429.3 kB / 1.198 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.9792, allocations: 95.34 kB / 1.198 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.9794, allocations: 104.8 kB / 1.198 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.9794, allocations: 4 kB / 1.198 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9794, allocations: 0 / 1.198 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.9794, allocations: 3.984 kB / 1.198 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9804, allocations: 0.9278 MB / 1.199 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9805, allocations: 4 kB / 1.199 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.9809, allocations: 87.91 kB / 1.199 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.981, allocations: 44.83 kB / 1.199 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.9811, allocations: 11.98 kB / 1.199 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.9823, allocations: 1.531 MB / 1.201 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9823, allocations: 0 / 1.201 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.9833, allocations: 0.8269 MB / 1.201 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.9839, allocations: 300.5 kB / 1.202 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.984, allocations: 15.98 kB / 1.202 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.9847, allocations: 111.7 kB / 1.202 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.9847, allocations: 11.98 kB / 1.202 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.9848, allocations: 15.98 kB / 1.202 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001361/0.9861, allocations: 0.9939 MB / 1.203 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9861, allocations: 0 / 1.203 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001146/0.9873, allocations: 459.8 kB / 1.203 GB, free: 13.21 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.0001628/0.9875, allocations: 111.3 kB / 1.203 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.9895, allocations: 0.9405 MB / 1.204 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9895, allocations: 4.062 kB / 1.204 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.99, allocations: 326.4 kB / 1.205 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.9912, allocations: 274.3 kB / 1.205 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.9948, allocations: 2.307 MB / 1.207 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007938/0.9956, allocations: 1.16 MB / 1.208 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005653/0.9962, allocations: 258.6 kB / 1.208 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.9964, allocations: 55.42 kB / 1.209 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.9964, allocations: 0 / 1.209 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of Templates: time 0.02713/1.024, allocations: 15.74 MB / 1.224 GB, free: 8.168 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches