Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001325/0.001325, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001284/0.001284, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 469.8 MB / 0.7427 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 65.77 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2749, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005525/0.2805, allocations: 3.772 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.2848, allocations: 2.497 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.2853, allocations: 15.88 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.2862, allocations: 226.8 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2874, allocations: 454.8 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.2892, allocations: 0.4923 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.2922, allocations: 1.39 MB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.2926, allocations: 157.1 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.2937, allocations: 430.4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.295, allocations: 0.5372 MB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.2953, allocations: 56 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.2957, allocations: 64 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006481/0.2963, allocations: 339 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008226/0.2972, allocations: 473.5 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.298, allocations: 0.7171 MB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2981, allocations: 3.938 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2981, allocations: 0 / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2981, allocations: 0 / 1.075 GB, free: 2.965 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002475/0.3006, allocations: 1.269 MB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3006, allocations: 8.031 kB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3008, allocations: 103.7 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.3018, allocations: 0.6597 MB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.3018, allocations: 37.03 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.3019, allocations: 56.38 kB / 1.078 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.3026, allocations: 410.9 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3026, allocations: 7.938 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.3026, allocations: 12 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3027, allocations: 15.98 kB / 1.078 GB, free: 276 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.3031, allocations: 234.4 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.3063, allocations: 2.49 MB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.3078, allocations: 0.5482 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.3081, allocations: 164.7 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3082, allocations: 7.984 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3082, allocations: 38.56 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.3082, allocations: 0 / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001671/0.3099, allocations: 0.8856 MB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.31, allocations: 55.41 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3112, allocations: 0.9193 MB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.3113, allocations: 41.7 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.3117, allocations: 364.8 kB / 1.084 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3118, allocations: 126.2 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.312, allocations: 174.6 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002386/0.3123, allocations: 394.7 kB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.3127, allocations: 241.8 kB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.3135, allocations: 0.6349 MB / 1.085 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3146, allocations: 0.9007 MB / 1.086 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3146, allocations: 4 kB / 1.086 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001782/0.3164, allocations: 1.018 MB / 1.087 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3164, allocations: 12 kB / 1.087 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.3165, allocations: 12.5 kB / 1.087 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.3169, allocations: 126.4 kB / 1.087 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.3176, allocations: 199.6 kB / 1.087 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.3215, allocations: 4.476 MB / 1.092 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000919/0.3224, allocations: 111 kB / 1.092 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.3225, allocations: 40 kB / 1.092 GB, free: 0.9414 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.0003536/0.3228, allocations: 273.4 kB / 1.092 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.323, allocations: 78.97 kB / 1.092 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3231, allocations: 80.52 kB / 1.092 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3231, allocations: 0 / 1.092 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.3231, allocations: 4 kB / 1.092 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3231, allocations: 0 / 1.092 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/0.3239, allocations: 0.6569 MB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.324, allocations: 4 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.3243, allocations: 63.95 kB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.3246, allocations: 114.5 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3247, allocations: 8 kB / 1.093 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/0.3283, allocations: 4.446 MB / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3283, allocations: 3.984 kB / 1.097 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3296, allocations: 0.7332 MB / 1.098 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.3299, allocations: 211.9 kB / 1.098 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.33, allocations: 8 kB / 1.098 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.3305, allocations: 27.88 kB / 1.098 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.3306, allocations: 31.91 kB / 1.098 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3306, allocations: 4 kB / 1.098 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009114/0.3316, allocations: 0.6239 MB / 1.099 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3316, allocations: 4 kB / 1.099 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00091/0.3325, allocations: 263.8 kB / 1.099 GB, free: 8.793 MB / 0.8575 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.0001635/0.3327, allocations: 111.2 kB / 1.099 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.3342, allocations: 0.9593 MB / 1.1 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3342, allocations: 0 / 1.1 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.3349, allocations: 0.52 MB / 1.101 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/0.3358, allocations: 182.6 kB / 1.101 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.3387, allocations: 2.027 MB / 1.103 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.3393, allocations: 0.9878 MB / 1.104 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3395, allocations: 55.42 kB / 1.104 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.3395, allocations: 4 kB / 1.104 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.02339/0.3629, allocations: 17.57 MB / 1.121 GB, free: 2.266 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches