Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001072/0.001072, allocations: 109.4 kB / 16.39 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.001088/0.001088, allocations: 189.5 kB / 17.32 MB, free: 5.754 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 442.7 MB / 0.7167 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 55.91 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7543, allocations: 153 MB / 1.177 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004372/0.7587, allocations: 3.739 MB / 1.18 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.7626, allocations: 2.501 MB / 1.183 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.7629, allocations: 19.88 kB / 1.183 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.7636, allocations: 248.3 kB / 1.183 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008329/0.7645, allocations: 498.9 kB / 1.184 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.7657, allocations: 0.5375 MB / 1.184 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.7668, allocations: 1.394 MB / 1.185 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.767, allocations: 145.1 kB / 1.186 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.7675, allocations: 430.5 kB / 1.186 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.768, allocations: 462.2 kB / 1.186 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.067e-05/0.7681, allocations: 52 kB / 1.186 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.7682, allocations: 60 kB / 1.187 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.7686, allocations: 378.9 kB / 1.187 GB, free: 400 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.769, allocations: 469.6 kB / 1.187 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.7697, allocations: 0.9302 MB / 1.188 GB, free: 15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7697, allocations: 0 / 1.188 GB, free: 15 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7697, allocations: 4 kB / 1.188 GB, free: 14.99 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.7697, allocations: 0 / 1.188 GB, free: 14.99 MB / 0.92 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.002069/0.7718, allocations: 1.276 MB / 1.19 GB, free: 13.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.7718, allocations: 12.03 kB / 1.19 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.772, allocations: 95.81 kB / 1.19 GB, free: 13.56 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009387/0.7729, allocations: 0.6676 MB / 1.19 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.773, allocations: 41.03 kB / 1.19 GB, free: 12.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.7731, allocations: 60.38 kB / 1.19 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.7736, allocations: 414.8 kB / 1.191 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.7737, allocations: 4 kB / 1.191 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.7737, allocations: 16 kB / 1.191 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.7737, allocations: 8 kB / 1.191 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.7741, allocations: 238.3 kB / 1.191 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.777, allocations: 2.49 MB / 1.193 GB, free: 9.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7784, allocations: 0.5572 MB / 1.194 GB, free: 8.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.7786, allocations: 157.3 kB / 1.194 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.7787, allocations: 4 kB / 1.194 GB, free: 8.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.7787, allocations: 38.55 kB / 1.194 GB, free: 8.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.7787, allocations: 0 / 1.194 GB, free: 8.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.001556/0.7803, allocations: 0.8813 MB / 1.195 GB, free: 7.652 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.7803, allocations: 55.41 kB / 1.195 GB, free: 7.586 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.7814, allocations: 0.9309 MB / 1.196 GB, free: 6.645 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.7814, allocations: 41.7 kB / 1.196 GB, free: 6.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.7817, allocations: 368.7 kB / 1.196 GB, free: 6.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.7818, allocations: 110.4 kB / 1.196 GB, free: 6.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.782, allocations: 178.5 kB / 1.197 GB, free: 5.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7822, allocations: 390.7 kB / 1.197 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.7825, allocations: 249.8 kB / 1.197 GB, free: 5.305 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.7831, allocations: 0.6349 MB / 1.198 GB, free: 4.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/0.7841, allocations: 0.8932 MB / 1.199 GB, free: 3.391 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7841, allocations: 4 kB / 1.199 GB, free: 3.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001526/0.7856, allocations: 1.018 MB / 1.2 GB, free: 2.352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.7857, allocations: 12 kB / 1.2 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.7857, allocations: 15.94 kB / 1.2 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.7861, allocations: 130.7 kB / 1.2 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.7867, allocations: 191.6 kB / 1.2 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.7898, allocations: 4.473 MB / 1.204 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/0.7907, allocations: 107 kB / 1.205 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.7908, allocations: 44 kB / 1.205 GB, free: 12.96 MB / 0.9356 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.0002957/0.7911, allocations: 271.8 kB / 1.205 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7912, allocations: 94.94 kB / 1.205 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.7914, allocations: 72.53 kB / 1.205 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.7914, allocations: 3.984 kB / 1.205 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7914, allocations: 0 / 1.205 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.7916, allocations: 207.9 kB / 1.205 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.7917, allocations: 8 kB / 1.205 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.7922, allocations: 27.91 kB / 1.205 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.7922, allocations: 23.97 kB / 1.205 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/0.7937, allocations: 0.6317 MB / 1.206 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008754/0.7946, allocations: 0.7714 MB / 1.207 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002401/0.7948, allocations: 159.9 kB / 1.207 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007583/0.7956, allocations: 0.62 MB / 1.207 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of Backend: time 7.21e-07/0.7956, allocations: 0 / 1.207 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.7971, allocations: 0.8916 MB / 1.208 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002796/0.7999, allocations: 2.356 MB / 1.211 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.01649/0.8164, allocations: 10.44 MB / 1.221 GB, free: 12.34 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches