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.001205/0.001205, allocations: 102.2 kB / 16.27 MB, free: 6 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.001134/0.001134, allocations: 191 kB / 17.2 MB, free: 5.609 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.445/2.445, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.91 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2662, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005217/0.2715, allocations: 3.745 MB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004367/0.2759, allocations: 2.498 MB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005923/0.2765, allocations: 11.94 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.2775, allocations: 250.3 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.2788, allocations: 0.4945 MB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2802, allocations: 0.5416 MB / 1.025 GB, free: 3.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.2818, allocations: 1.379 MB / 1.027 GB, free: 1.723 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.2821, allocations: 149.1 kB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.2828, allocations: 426.5 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.2836, allocations: 0.5059 MB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.2838, allocations: 60 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.284, allocations: 68 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.2844, allocations: 339 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.285, allocations: 469.7 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009302/0.286, allocations: 0.9223 MB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.286, allocations: 4 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.286, allocations: 0 / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.191e-05/0.286, allocations: 0 / 1.029 GB, free: 14.8 MB / 0.8106 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.0025/0.2885, allocations: 1.269 MB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2886, allocations: 12.88 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.2888, allocations: 107.7 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2899, allocations: 0.6558 MB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.2899, allocations: 37.03 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.29, allocations: 60.38 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.2906, allocations: 410.9 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.2906, allocations: 3.938 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.2907, allocations: 16 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2907, allocations: 8 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.2911, allocations: 238.4 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.2943, allocations: 2.49 MB / 1.035 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2958, allocations: 0.5517 MB / 1.035 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.296, allocations: 169.2 kB / 1.035 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2961, allocations: 4 kB / 1.035 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2961, allocations: 38.56 kB / 1.035 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.2961, allocations: 0 / 1.035 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.001674/0.2978, allocations: 0.8934 MB / 1.036 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2978, allocations: 55.41 kB / 1.036 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.2991, allocations: 0.9193 MB / 1.037 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.2992, allocations: 37.7 kB / 1.037 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.2995, allocations: 368.8 kB / 1.038 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.2996, allocations: 122.3 kB / 1.038 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.2999, allocations: 170.6 kB / 1.038 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3, allocations: 390.8 kB / 1.038 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.3004, allocations: 249.8 kB / 1.038 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.3011, allocations: 0.6349 MB / 1.039 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3021, allocations: 0.9043 MB / 1.04 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.3021, allocations: 4 kB / 1.04 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001694/0.3038, allocations: 1.01 MB / 1.041 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3039, allocations: 12 kB / 1.041 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.3039, allocations: 12.44 kB / 1.041 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/0.3043, allocations: 130.4 kB / 1.041 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.305, allocations: 187.7 kB / 1.041 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/0.3083, allocations: 4.473 MB / 1.046 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.3094, allocations: 114.9 kB / 1.046 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.3095, allocations: 40 kB / 1.046 GB, free: 12.78 MB / 0.8262 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.0003765/0.3099, allocations: 281.4 kB / 1.046 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.3101, allocations: 82.95 kB / 1.046 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.3103, allocations: 80.45 kB / 1.046 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3103, allocations: 4 kB / 1.046 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3103, allocations: 0 / 1.046 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3103, allocations: 4 kB / 1.046 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008177/0.3111, allocations: 0.6608 MB / 1.047 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3111, allocations: 0 / 1.047 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.3115, allocations: 63.95 kB / 1.047 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.3118, allocations: 106.4 kB / 1.047 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3119, allocations: 11.98 kB / 1.047 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.315, allocations: 4.442 MB / 1.051 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3151, allocations: 0 / 1.051 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.3162, allocations: 0.7428 MB / 1.052 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.3166, allocations: 207.9 kB / 1.052 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.3168, allocations: 15.98 kB / 1.052 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.3173, allocations: 15.98 kB / 1.052 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.3174, allocations: 27.95 kB / 1.052 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3174, allocations: 4 kB / 1.052 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000887/0.3183, allocations: 0.6239 MB / 1.053 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3183, allocations: 0 / 1.053 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009501/0.3193, allocations: 271.7 kB / 1.053 GB, free: 4.625 MB / 0.8262 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.0001452/0.3195, allocations: 111.2 kB / 1.053 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.321, allocations: 0.9556 MB / 1.054 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.321, allocations: 0 / 1.054 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.3216, allocations: 0.5173 MB / 1.055 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.3226, allocations: 179.2 kB / 1.055 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3253, allocations: 1.786 MB / 1.057 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.3258, allocations: 0.9955 MB / 1.058 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.326, allocations: 51.44 kB / 1.058 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3261, allocations: 0 / 1.058 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.4689/0.795, allocations: 17.58 MB / 1.075 GB, free: 60.12 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches