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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00127/0.00127, allocations: 108.1 kB / 15.99 MB, free: 6.359 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.001276/0.001276, allocations: 192.4 kB / 16.91 MB, free: 6.195 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.481/2.481, allocations: 469.4 MB / 0.7423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.27 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3013, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005395/0.3068, allocations: 3.765 MB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00396/0.3108, allocations: 2.496 MB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.3113, allocations: 11.94 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008167/0.3121, allocations: 230.7 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.3133, allocations: 458 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3146, allocations: 499.1 kB / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3161, allocations: 1.394 MB / 1.072 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.3164, allocations: 145.1 kB / 1.072 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.3171, allocations: 434.4 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.3178, allocations: 0.545 MB / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.318, allocations: 60 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3181, allocations: 60 kB / 1.074 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.3185, allocations: 339 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.3189, allocations: 469.5 kB / 1.074 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.3196, allocations: 0.7132 MB / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3196, allocations: 0 / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3196, allocations: 0 / 1.075 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.3196, allocations: 0 / 1.075 GB, free: 3.754 MB / 0.8419 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.002285/0.3219, allocations: 1.269 MB / 1.076 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3219, allocations: 12.62 kB / 1.076 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3221, allocations: 103.7 kB / 1.076 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.3231, allocations: 0.6558 MB / 1.077 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.3231, allocations: 41.03 kB / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.3232, allocations: 52.38 kB / 1.077 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.3238, allocations: 414.9 kB / 1.077 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3238, allocations: 7.984 kB / 1.077 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.3239, allocations: 16 kB / 1.077 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3239, allocations: 11.94 kB / 1.078 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.3243, allocations: 226.4 kB / 1.078 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4652/0.7895, allocations: 2.492 MB / 1.08 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.7911, allocations: 0.5515 MB / 1.081 GB, free: 21.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.7914, allocations: 169.1 kB / 1.081 GB, free: 21.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.7914, allocations: 3.438 kB / 1.081 GB, free: 21.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.7915, allocations: 32.38 kB / 1.081 GB, free: 21.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/0.7915, allocations: 0 / 1.081 GB, free: 21.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001744/0.7932, allocations: 0.8822 MB / 1.082 GB, free: 20.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.7933, allocations: 62.98 kB / 1.082 GB, free: 20.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.7946, allocations: 0.9203 MB / 1.083 GB, free: 20.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.7947, allocations: 41.69 kB / 1.083 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.7949, allocations: 363.3 kB / 1.083 GB, free: 20.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.795, allocations: 119.3 kB / 1.083 GB, free: 20.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.7952, allocations: 175.9 kB / 1.083 GB, free: 19.94 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7954, allocations: 395.3 kB / 1.084 GB, free: 19.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.7958, allocations: 255.3 kB / 1.084 GB, free: 19.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.7964, allocations: 0.6307 MB / 1.085 GB, free: 18.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.7973, allocations: 0.8979 MB / 1.085 GB, free: 18.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.7973, allocations: 4.469 kB / 1.085 GB, free: 18.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001747/0.7991, allocations: 1.016 MB / 1.086 GB, free: 17.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.7991, allocations: 10.84 kB / 1.086 GB, free: 17.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.7992, allocations: 13.97 kB / 1.087 GB, free: 17.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.7996, allocations: 126.3 kB / 1.087 GB, free: 17.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.8002, allocations: 188.7 kB / 1.087 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.8028, allocations: 4.483 MB / 1.091 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009541/0.8038, allocations: 115.9 kB / 1.091 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.8038, allocations: 43.84 kB / 1.091 GB, free: 13.32 MB / 0.8419 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.0003329/0.8042, allocations: 265.6 kB / 1.092 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.8043, allocations: 92.31 kB / 1.092 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.8044, allocations: 75.78 kB / 1.092 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.8044, allocations: 3.656 kB / 1.092 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.8045, allocations: 1.781 kB / 1.092 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.8045, allocations: 2.703 kB / 1.092 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000872/0.8053, allocations: 0.6518 MB / 1.092 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.8054, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.8057, allocations: 62.08 kB / 1.092 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.806, allocations: 112.8 kB / 1.093 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.8061, allocations: 9 kB / 1.093 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.8085, allocations: 4.455 MB / 1.097 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8086, allocations: 0 / 1.097 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8097, allocations: 0.7498 MB / 1.098 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.81, allocations: 204.2 kB / 1.098 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.8101, allocations: 9.609 kB / 1.098 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.8106, allocations: 28.75 kB / 1.098 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.8107, allocations: 26.23 kB / 1.098 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.8108, allocations: 10.48 kB / 1.098 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001011/0.8118, allocations: 0.6202 MB / 1.099 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8118, allocations: 4.844 kB / 1.099 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001013/0.8128, allocations: 269.8 kB / 1.099 GB, free: 7.445 MB / 0.8419 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.0001276/0.813, allocations: 110.9 kB / 1.099 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.8145, allocations: 0.9622 MB / 1.1 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8145, allocations: 0.7656 kB / 1.1 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.8151, allocations: 0.5168 MB / 1.1 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.8161, allocations: 178.5 kB / 1.101 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.819, allocations: 2.01 MB / 1.102 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.8197, allocations: 0.9944 MB / 1.103 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.8199, allocations: 49.12 kB / 1.103 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.8199, allocations: 0 / 1.103 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of Templates: time 0.0296/0.8495, allocations: 17.59 MB / 1.121 GB, free: 1.516 MB / 0.8419 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