Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.32 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.146/3.146, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.09e-05, allocations: 3.188 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006133/0.006164, allocations: 3.738 MB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005455/0.01162, allocations: 2.522 MB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.01211, allocations: 15.88 kB / 0.8169 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.01296, allocations: 248 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.01434, allocations: 0.545 MB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.01595, allocations: 0.5716 MB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.01813, allocations: 1.439 MB / 0.8196 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.01839, allocations: 97.66 kB / 0.8197 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.01956, allocations: 0.5963 MB / 0.8203 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.02034, allocations: 429.3 kB / 0.8207 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.02046, allocations: 56 kB / 0.8208 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.02067, allocations: 67.94 kB / 0.8208 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.02122, allocations: 410.9 kB / 0.8212 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.02167, allocations: 327.2 kB / 0.8215 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.02293, allocations: 0.9266 MB / 0.8224 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.02293, allocations: 0 / 0.8224 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.02293, allocations: 1.156 kB / 0.8224 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.02295, allocations: 0 / 0.8224 GB, free: 6.168 MB / 0.7761 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.003089/0.02604, allocations: 1.378 MB / 0.8238 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.02608, allocations: 12.03 kB / 0.8238 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.02643, allocations: 140.3 kB / 0.8239 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.02768, allocations: 0.6118 MB / 0.8245 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.02773, allocations: 38.06 kB / 0.8246 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.02783, allocations: 56.38 kB / 0.8246 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.0285, allocations: 373 kB / 0.825 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.02851, allocations: 5.047 kB / 0.825 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.02855, allocations: 19.94 kB / 0.825 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.02857, allocations: 17.7 kB / 0.825 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.02894, allocations: 162.4 kB / 0.8252 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.03248, allocations: 2.288 MB / 0.8274 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.03391, allocations: 425.5 kB / 0.8278 GB, free: 500 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.03412, allocations: 97.03 kB / 0.8279 GB, free: 400 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.03415, allocations: 4 kB / 0.8279 GB, free: 396 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.03419, allocations: 41.39 kB / 0.828 GB, free: 344 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.0342, allocations: 0 / 0.828 GB, free: 344 kB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.001519/0.03571, allocations: 492.3 kB / 0.8284 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.03578, allocations: 59.41 kB / 0.8285 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.03723, allocations: 1.019 MB / 0.8295 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.03728, allocations: 41.7 kB / 0.8295 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/0.03798, allocations: 471.9 kB / 0.83 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.03815, allocations: 123 kB / 0.8301 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.03845, allocations: 208.3 kB / 0.8303 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004277/0.03888, allocations: 0.6133 MB / 0.8309 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.03914, allocations: 105.9 kB / 0.831 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008416/0.03999, allocations: 0.7 MB / 0.8317 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.04118, allocations: 0.88 MB / 0.8325 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.04119, allocations: 4 kB / 0.8325 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001582/0.04278, allocations: 0.7696 MB / 0.8333 GB, free: 10.26 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.0428, allocations: 12 kB / 0.8333 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.04283, allocations: 16.09 kB / 0.8333 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.04348, allocations: 142.9 kB / 0.8334 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.04415, allocations: 183.7 kB / 0.8336 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.04938, allocations: 5.494 MB / 0.839 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.05049, allocations: 119.2 kB / 0.8391 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.05056, allocations: 40 kB / 0.8391 GB, free: 3.879 MB / 0.7917 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.0003591/0.05092, allocations: 244.2 kB / 0.8394 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.05108, allocations: 103.4 kB / 0.8395 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.05122, allocations: 68.42 kB / 0.8395 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.05123, allocations: 7.938 kB / 0.8395 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.05124, allocations: 4 kB / 0.8395 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.05125, allocations: 3.984 kB / 0.8395 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.0521, allocations: 0.547 MB / 0.8401 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0521, allocations: 0 / 0.8401 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.05245, allocations: 63.89 kB / 0.8401 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/0.05301, allocations: 115.1 kB / 0.8402 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.05304, allocations: 8 kB / 0.8403 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/0.05821, allocations: 5.456 MB / 0.8456 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.05821, allocations: 4.188 kB / 0.8456 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.05944, allocations: 0.5938 MB / 0.8462 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.05985, allocations: 127.3 kB / 0.8463 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.05995, allocations: 12 kB / 0.8463 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.06046, allocations: 19.97 kB / 0.8463 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.06059, allocations: 31.94 kB / 0.8464 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.06061, allocations: 8 kB / 0.8464 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001009/0.06162, allocations: 0.6161 MB / 0.847 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.06162, allocations: 0 / 0.847 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00105/0.06267, allocations: 267.8 kB / 0.8472 GB, free: 11.14 MB / 0.8073 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.0001892/0.06286, allocations: 107.2 kB / 0.8473 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.06452, allocations: 0.936 MB / 0.8482 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.06452, allocations: 3.938 kB / 0.8482 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.06532, allocations: 0.6299 MB / 0.8489 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/0.06629, allocations: 169.9 kB / 0.849 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.06917, allocations: 1.469 MB / 0.8504 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.06966, allocations: 380.4 kB / 0.8508 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004006/0.07006, allocations: 129.5 kB / 0.8509 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.07022, allocations: 44.5 kB / 0.851 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of SimCode: time 1.513e-06/0.07022, allocations: 8 kB / 0.851 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of Templates: time 0.02251/0.09274, allocations: 10.8 MB / 0.8615 GB, free: 12.54 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.61854667996522]