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.007519/0.007519, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001661/0.001661, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.458/2.458, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 1.018 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9008, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004746/0.9056, allocations: 3.742 MB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.9099, allocations: 2.509 MB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.9104, allocations: 11.94 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.9112, allocations: 249.9 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.9123, allocations: 499.4 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.9137, allocations: 0.5339 MB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.9152, allocations: 1.39 MB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.9155, allocations: 149.1 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.916, allocations: 442.5 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.9166, allocations: 462.2 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.9167, allocations: 56 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.9168, allocations: 56 kB / 1.176 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.9172, allocations: 382.9 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.9177, allocations: 461.7 kB / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.9186, allocations: 0.9423 MB / 1.178 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9186, allocations: 4 kB / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9186, allocations: 0 / 1.178 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.9186, allocations: 0 / 1.178 GB, free: 7.918 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.002294/0.9209, allocations: 1.305 MB / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.921, allocations: 12.88 kB / 1.179 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.9211, allocations: 108.3 kB / 1.18 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.9222, allocations: 0.6761 MB / 1.18 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.9222, allocations: 37.03 kB / 1.18 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/0.9223, allocations: 56.38 kB / 1.18 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.9229, allocations: 410.9 kB / 1.181 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.9229, allocations: 4 kB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.923, allocations: 19.94 kB / 1.181 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.923, allocations: 8 kB / 1.181 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.9234, allocations: 234.4 kB / 1.181 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.9265, allocations: 2.494 MB / 1.183 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.928, allocations: 0.5501 MB / 1.184 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.9283, allocations: 164.8 kB / 1.184 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.9283, allocations: 4 kB / 1.184 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.9283, allocations: 42.5 kB / 1.184 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.9283, allocations: 0 / 1.184 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001659/0.93, allocations: 0.8934 MB / 1.185 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.9301, allocations: 55.41 kB / 1.185 GB, free: 468 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.9312, allocations: 0.9194 MB / 1.186 GB, free: 15.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.9312, allocations: 45.7 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.9315, allocations: 365.2 kB / 1.186 GB, free: 15.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.9316, allocations: 126.9 kB / 1.186 GB, free: 14.99 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.9319, allocations: 170.6 kB / 1.187 GB, free: 14.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.932, allocations: 394.8 kB / 1.187 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.9324, allocations: 241.8 kB / 1.187 GB, free: 14.19 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.9331, allocations: 0.6426 MB / 1.188 GB, free: 13.36 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.9342, allocations: 0.8852 MB / 1.189 GB, free: 12.28 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.9342, allocations: 4 kB / 1.189 GB, free: 12.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00164/0.9359, allocations: 1.018 MB / 1.19 GB, free: 11.24 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.9359, allocations: 12.53 kB / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.9359, allocations: 23.92 kB / 1.19 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.9364, allocations: 122.4 kB / 1.19 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.937, allocations: 191.7 kB / 1.19 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.9403, allocations: 4.478 MB / 1.194 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009532/0.9413, allocations: 119.2 kB / 1.195 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.9413, allocations: 47.98 kB / 1.195 GB, free: 5.82 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.0003275/0.9417, allocations: 271.5 kB / 1.195 GB, free: 5.547 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.9418, allocations: 83.44 kB / 1.195 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.9419, allocations: 80.52 kB / 1.195 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9419, allocations: 3.938 kB / 1.195 GB, free: 5.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.9419, allocations: 4 kB / 1.195 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9419, allocations: 4 kB / 1.195 GB, free: 5.371 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.9426, allocations: 0.6609 MB / 1.196 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9427, allocations: 0 / 1.196 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.943, allocations: 63.89 kB / 1.196 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.9433, allocations: 106.5 kB / 1.196 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.9434, allocations: 12 kB / 1.196 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/0.9466, allocations: 4.454 MB / 1.2 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9466, allocations: 0 / 1.2 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.9477, allocations: 0.7326 MB / 1.201 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.948, allocations: 216.3 kB / 1.201 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.9481, allocations: 11.98 kB / 1.201 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.9486, allocations: 27.97 kB / 1.201 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.9487, allocations: 28.09 kB / 1.201 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.9487, allocations: 8 kB / 1.201 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008033/0.9495, allocations: 0.62 MB / 1.202 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9495, allocations: 3.938 kB / 1.202 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009152/0.9504, allocations: 263.9 kB / 1.202 GB, free: 13.66 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.000155/0.9506, allocations: 107.2 kB / 1.202 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.952, allocations: 0.9244 MB / 1.203 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.952, allocations: 0 / 1.203 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.9526, allocations: 0.5311 MB / 1.204 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.9535, allocations: 184.9 kB / 1.204 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.9559, allocations: 1.742 MB / 1.205 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.9565, allocations: 0.9917 MB / 1.206 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003596/0.9568, allocations: 149.9 kB / 1.207 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.957, allocations: 47.44 kB / 1.207 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.957, allocations: 3.938 kB / 1.207 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of Templates: time 0.01913/0.9761, allocations: 10.22 MB / 1.217 GB, free: 14.74 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches