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.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.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.617/2.617, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6777, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005103/0.6828, allocations: 3.728 MB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.687, allocations: 2.517 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.6874, allocations: 15.88 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.6882, allocations: 250.3 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008923/0.6891, allocations: 0.4899 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.6902, allocations: 0.5301 MB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.6914, allocations: 1.387 MB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.6916, allocations: 145.1 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.6921, allocations: 426.5 kB / 1.027 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.6927, allocations: 0.506 MB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.6928, allocations: 60 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.6929, allocations: 64 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.6932, allocations: 343 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.6936, allocations: 465.6 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007779/0.6944, allocations: 0.9262 MB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6944, allocations: 8 kB / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6944, allocations: 0 / 1.029 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.6944, allocations: 0 / 1.029 GB, free: 6.609 MB / 0.7794 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.00204/0.6965, allocations: 1.265 MB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.6965, allocations: 11.98 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.6967, allocations: 107.7 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.6975, allocations: 0.6404 MB / 1.031 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.6976, allocations: 37.03 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.6976, allocations: 68.27 kB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.6982, allocations: 410.8 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.6982, allocations: 3.984 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.6983, allocations: 19.94 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.6983, allocations: 8 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.6987, allocations: 230.4 kB / 1.032 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.7014, allocations: 2.506 MB / 1.034 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.7028, allocations: 0.5493 MB / 1.034 GB, free: 460 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.703, allocations: 164.8 kB / 1.035 GB, free: 292 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.7031, allocations: 4 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.7031, allocations: 30.56 kB / 1.035 GB, free: 248 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.7031, allocations: 4 kB / 1.035 GB, free: 244 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001722/0.7048, allocations: 0.8874 MB / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7049, allocations: 59.39 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.706, allocations: 0.923 MB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.7061, allocations: 41.7 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.7064, allocations: 364.9 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.7065, allocations: 122.2 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.7067, allocations: 166.7 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7069, allocations: 394.7 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.7072, allocations: 241.8 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.7078, allocations: 0.6426 MB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.7088, allocations: 0.895 MB / 1.039 GB, free: 11.03 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7088, allocations: 4 kB / 1.039 GB, free: 11.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001454/0.7103, allocations: 1.014 MB / 1.04 GB, free: 9.992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.7103, allocations: 12 kB / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.7103, allocations: 15.94 kB / 1.04 GB, free: 9.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.7107, allocations: 130.8 kB / 1.04 GB, free: 9.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.7113, allocations: 191.7 kB / 1.041 GB, free: 9.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.7145, allocations: 4.469 MB / 1.045 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/0.7153, allocations: 110.9 kB / 1.045 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.7154, allocations: 40 kB / 1.045 GB, free: 4.602 MB / 0.795 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.0002917/0.7157, allocations: 282.5 kB / 1.045 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.7158, allocations: 78.97 kB / 1.045 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.7159, allocations: 72.53 kB / 1.046 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7159, allocations: 7.938 kB / 1.046 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.7159, allocations: 0 / 1.046 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7159, allocations: 7.984 kB / 1.046 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.7167, allocations: 0.6531 MB / 1.046 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7167, allocations: 3.938 kB / 1.046 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.717, allocations: 71.88 kB / 1.046 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.7173, allocations: 106.5 kB / 1.046 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.7174, allocations: 7.984 kB / 1.046 GB, free: 3.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/0.7205, allocations: 4.458 MB / 1.051 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7205, allocations: 4 kB / 1.051 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.7215, allocations: 0.7353 MB / 1.051 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.7218, allocations: 212.1 kB / 1.052 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.7219, allocations: 8 kB / 1.052 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.7223, allocations: 19.97 kB / 1.052 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.7224, allocations: 31.89 kB / 1.052 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.7224, allocations: 7.984 kB / 1.052 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007876/0.7232, allocations: 0.6278 MB / 1.052 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7232, allocations: 0 / 1.052 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007913/0.724, allocations: 263.8 kB / 1.053 GB, free: 12.43 MB / 0.8106 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.0001564/0.7242, allocations: 107.2 kB / 1.053 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.7256, allocations: 0.9545 MB / 1.054 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7256, allocations: 0 / 1.054 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.7262, allocations: 0.5249 MB / 1.054 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008662/0.7271, allocations: 174.8 kB / 1.054 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.7295, allocations: 1.737 MB / 1.056 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.73, allocations: 0.9917 MB / 1.057 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003626/0.7304, allocations: 145.9 kB / 1.057 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.7305, allocations: 47.44 kB / 1.057 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.7305, allocations: 3.938 kB / 1.057 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.01699/0.7475, allocations: 10.11 MB / 1.067 GB, free: 13.62 MB / 0.8262 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