Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009523, allocations: 98.88 kB / 16.02 MB, free: 72 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.001279/0.001278, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.666/2.666, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8.188 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002931/0.2927, allocations: 2.428 MB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003806/0.2965, allocations: 2.75 MB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.2968, allocations: 7.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.2981, allocations: 470.3 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.2987, allocations: 247 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.2996, allocations: 327.3 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.3015, allocations: 1.711 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.3018, allocations: 125.7 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/0.3025, allocations: 402.8 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.3031, allocations: 394.5 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.3032, allocations: 20 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3033, allocations: 28 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.3035, allocations: 227.3 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.3039, allocations: 355.9 kB / 1.069 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.3046, allocations: 0.7131 MB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3046, allocations: 0 / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3046, allocations: 8 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.3046, allocations: 0 / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001932/0.3065, allocations: 1.035 MB / 1.07 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3066, allocations: 15.97 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.3068, allocations: 80 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.3077, allocations: 0.6409 MB / 1.071 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3078, allocations: 28.94 kB / 1.071 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.3079, allocations: 44.31 kB / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.3084, allocations: 386.8 kB / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3084, allocations: 0 / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3085, allocations: 8 kB / 1.071 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3085, allocations: 4 kB / 1.071 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.3089, allocations: 249.4 kB / 1.072 GB, free: 8.223 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.3125, allocations: 2.478 MB / 1.074 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.3135, allocations: 398.5 kB / 1.074 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3137, allocations: 144.7 kB / 1.075 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3137, allocations: 3.938 kB / 1.075 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3138, allocations: 30.56 kB / 1.075 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3138, allocations: 0 / 1.075 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009579/0.3147, allocations: 0.5431 MB / 1.075 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3148, allocations: 51.41 kB / 1.075 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.3159, allocations: 0.9376 MB / 1.076 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.316, allocations: 37.7 kB / 1.076 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.3162, allocations: 300.4 kB / 1.076 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.3163, allocations: 71.09 kB / 1.076 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.3164, allocations: 65.69 kB / 1.077 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3166, allocations: 382.7 kB / 1.077 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.3169, allocations: 244.9 kB / 1.077 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3175, allocations: 0.5014 MB / 1.078 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/0.3182, allocations: 0.7063 MB / 1.078 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3183, allocations: 4 kB / 1.078 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001162/0.3194, allocations: 0.8139 MB / 1.079 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3194, allocations: 8 kB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3195, allocations: 12 kB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.3197, allocations: 52.77 kB / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.3201, allocations: 139.7 kB / 1.079 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.3213, allocations: 1.436 MB / 1.081 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.322, allocations: 135.4 kB / 1.081 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.322, allocations: 32 kB / 1.081 GB, free: 14.05 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.3224, allocations: 341.4 kB / 1.081 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.3224, allocations: 59.19 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.3226, allocations: 70 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3226, allocations: 3.938 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3226, allocations: 4 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3226, allocations: 0 / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.3232, allocations: 0.583 MB / 1.082 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3233, allocations: 4 kB / 1.082 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3235, allocations: 51.83 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.3236, allocations: 40.83 kB / 1.082 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3237, allocations: 8 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.3247, allocations: 1.424 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3247, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.3255, allocations: 0.5678 MB / 1.084 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.3257, allocations: 200.3 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.3258, allocations: 8 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.3262, allocations: 55.86 kB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.3263, allocations: 11.92 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.3263, allocations: 11.98 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008431/0.3272, allocations: 0.659 MB / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3272, allocations: 0 / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006129/0.3278, allocations: 179.8 kB / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001271/0.3279, allocations: 109.5 kB / 1.085 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009013/0.3288, allocations: 0.5839 MB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3288, allocations: 0 / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.3292, allocations: 242.5 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.33, allocations: 167.6 kB / 1.086 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3324, allocations: 1.853 MB / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.333, allocations: 1.007 MB / 1.089 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3331, allocations: 39.44 kB / 1.089 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3331, allocations: 0 / 1.089 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of Templates: time 0.01596/0.3491, allocations: 12.16 MB / 1.101 GB, free: 9.348 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches