Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002035/0.002036, allocations: 111.5 kB / 16.41 MB, free: 6.516 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.00232/0.00232, allocations: 188 kB / 17.34 MB, free: 5.734 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.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.13 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.691/2.691, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005125/1.014, allocations: 3.753 MB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00435/1.018, allocations: 2.502 MB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/1.018, allocations: 19.94 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007657/1.019, allocations: 255 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001028/1.02, allocations: 0.4899 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/1.022, allocations: 0.5351 MB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001633/1.023, allocations: 1.387 MB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/1.023, allocations: 145.1 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/1.024, allocations: 450.4 kB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/1.025, allocations: 462.2 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/1.025, allocations: 52 kB / 1.177 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/1.025, allocations: 56 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004035/1.025, allocations: 386.9 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000438/1.026, allocations: 457.7 kB / 1.178 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/1.027, allocations: 0.949 MB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.027, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.193e-06/1.027, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.027, allocations: 0 / 1.179 GB, free: 7.93 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002314/1.029, allocations: 1.307 MB / 1.18 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.029, allocations: 16.88 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/1.029, allocations: 104.3 kB / 1.18 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/1.031, allocations: 0.6761 MB / 1.181 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/1.031, allocations: 37.03 kB / 1.181 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/1.031, allocations: 60.38 kB / 1.181 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/1.031, allocations: 410.9 kB / 1.181 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.031, allocations: 3.938 kB / 1.181 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/1.031, allocations: 16 kB / 1.181 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/1.032, allocations: 8 kB / 1.181 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/1.032, allocations: 238.4 kB / 1.182 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/1.035, allocations: 2.49 MB / 1.184 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/1.037, allocations: 0.5523 MB / 1.185 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/1.037, allocations: 164.8 kB / 1.185 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/1.037, allocations: 4 kB / 1.185 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.037, allocations: 34.56 kB / 1.185 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/1.037, allocations: 0 / 1.185 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001868/1.039, allocations: 0.9012 MB / 1.186 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.039, allocations: 55.41 kB / 1.186 GB, free: 476 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/1.041, allocations: 0.9155 MB / 1.187 GB, free: 15.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/1.041, allocations: 41.7 kB / 1.187 GB, free: 15.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/1.041, allocations: 369.2 kB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/1.041, allocations: 119 kB / 1.187 GB, free: 15.01 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.042, allocations: 178.6 kB / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002285/1.042, allocations: 390.8 kB / 1.188 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/1.042, allocations: 245.8 kB / 1.188 GB, free: 14.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/1.043, allocations: 0.6387 MB / 1.189 GB, free: 13.37 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.044, allocations: 0.8852 MB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.044, allocations: 8 kB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001809/1.046, allocations: 1.018 MB / 1.19 GB, free: 11.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.046, allocations: 12 kB / 1.19 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.046, allocations: 12 kB / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/1.047, allocations: 134.8 kB / 1.191 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/1.047, allocations: 191.7 kB / 1.191 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/1.051, allocations: 4.481 MB / 1.195 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/1.052, allocations: 115.2 kB / 1.195 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/1.052, allocations: 40.06 kB / 1.195 GB, free: 5.84 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003781/1.053, allocations: 281.3 kB / 1.196 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.053, allocations: 83.44 kB / 1.196 GB, free: 5.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/1.053, allocations: 80.47 kB / 1.196 GB, free: 5.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.053, allocations: 4 kB / 1.196 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.053, allocations: 3.984 kB / 1.196 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.053, allocations: 0 / 1.196 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/1.054, allocations: 0.6609 MB / 1.196 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.054, allocations: 4 kB / 1.196 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/1.054, allocations: 63.89 kB / 1.196 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/1.055, allocations: 98.5 kB / 1.197 GB, free: 4.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/1.055, allocations: 15.98 kB / 1.197 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/1.058, allocations: 4.462 MB / 1.201 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.059, allocations: 0 / 1.201 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/1.06, allocations: 0.7364 MB / 1.202 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/1.06, allocations: 220.4 kB / 1.202 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/1.06, allocations: 8 kB / 1.202 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/1.061, allocations: 19.97 kB / 1.202 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/1.061, allocations: 31.95 kB / 1.202 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/1.061, allocations: 4 kB / 1.202 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009052/1.062, allocations: 0.6239 MB / 1.202 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.062, allocations: 3.938 kB / 1.202 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009545/1.063, allocations: 259.9 kB / 1.203 GB, free: 13.67 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001613/1.063, allocations: 111.4 kB / 1.203 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001521/1.064, allocations: 0.9246 MB / 1.204 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.064, allocations: 0 / 1.204 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006664/1.065, allocations: 0.5235 MB / 1.204 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008726/1.066, allocations: 182 kB / 1.204 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/1.069, allocations: 1.748 MB / 1.206 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/1.069, allocations: 0.9917 MB / 1.207 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004106/1.07, allocations: 149.9 kB / 1.207 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.07, allocations: 51.38 kB / 1.207 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/1.07, allocations: 0 / 1.207 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of Templates: time 0.01965/1.09, allocations: 10.29 MB / 1.217 GB, free: 14.68 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches