Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ConductorMultiLayer,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001509/0.001509, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.03 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.277, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003709/0.2807, allocations: 2.746 MB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003533/0.2843, allocations: 2.777 MB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.2845, allocations: 4 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.2858, allocations: 0.498 MB / 1.025 GB, free: 3.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.2862, allocations: 250.9 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.2871, allocations: 396.8 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.2886, allocations: 1.532 MB / 1.027 GB, free: 1.652 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2888, allocations: 130.3 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.2893, allocations: 482.8 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.2898, allocations: 386.6 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.2899, allocations: 48 kB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.29, allocations: 48 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.2903, allocations: 275.2 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.2906, allocations: 382.3 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.2913, allocations: 0.9034 MB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2914, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2914, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2914, allocations: 4 kB / 1.029 GB, free: 15.02 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001917/0.2933, allocations: 1.136 MB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2933, allocations: 12.03 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2935, allocations: 76 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2945, allocations: 0.6759 MB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2945, allocations: 28.94 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.2946, allocations: 44.36 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.2951, allocations: 382.8 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2951, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.2952, allocations: 4 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2952, allocations: 8 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2955, allocations: 233.5 kB / 1.032 GB, free: 12.32 MB / 0.8106 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.003361/0.2989, allocations: 2.455 MB / 1.034 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.2999, allocations: 408.5 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.3001, allocations: 140.7 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3001, allocations: 7.984 kB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3002, allocations: 30.56 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.3002, allocations: 0 / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009058/0.3011, allocations: 0.5402 MB / 1.035 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.3011, allocations: 51.41 kB / 1.035 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3022, allocations: 0.9337 MB / 1.036 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3022, allocations: 33.7 kB / 1.036 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.3025, allocations: 300.4 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.3025, allocations: 74.97 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3027, allocations: 122.1 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3028, allocations: 390.7 kB / 1.037 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.3032, allocations: 240.9 kB / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.3036, allocations: 0.4936 MB / 1.038 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.3044, allocations: 0.705 MB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3044, allocations: 4 kB / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001114/0.3055, allocations: 0.8198 MB / 1.039 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3056, allocations: 8 kB / 1.039 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3056, allocations: 11.94 kB / 1.039 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.3058, allocations: 61.44 kB / 1.039 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.3062, allocations: 135.8 kB / 1.04 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.3073, allocations: 1.539 MB / 1.041 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.308, allocations: 123.2 kB / 1.041 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.308, allocations: 24 kB / 1.041 GB, free: 2.031 MB / 0.8106 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.0003185/0.3083, allocations: 342.1 kB / 1.042 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.3084, allocations: 71.19 kB / 1.042 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.3085, allocations: 66 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.3086, allocations: 4 kB / 1.042 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.3086, allocations: 0 / 1.042 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3086, allocations: 3.984 kB / 1.042 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.3092, allocations: 0.579 MB / 1.042 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3092, allocations: 0 / 1.042 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.3094, allocations: 55.89 kB / 1.042 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.3096, allocations: 44.81 kB / 1.042 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3096, allocations: 8 kB / 1.042 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.3106, allocations: 1.523 MB / 1.044 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3106, allocations: 0 / 1.044 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.3113, allocations: 0.5694 MB / 1.044 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.3116, allocations: 196.5 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.3117, allocations: 11.98 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.3121, allocations: 47.86 kB / 1.045 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3121, allocations: 15.89 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3122, allocations: 4 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007625/0.3129, allocations: 0.6629 MB / 1.045 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3129, allocations: 0 / 1.045 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005813/0.3135, allocations: 183.8 kB / 1.045 GB, free: 13.42 MB / 0.8262 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.0001121/0.3136, allocations: 112.7 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008455/0.3145, allocations: 0.5766 MB / 1.046 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3145, allocations: 0 / 1.046 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.3148, allocations: 246.5 kB / 1.046 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.3156, allocations: 179.7 kB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3175, allocations: 1.514 MB / 1.048 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.318, allocations: 1.014 MB / 1.049 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.3184, allocations: 180.5 kB / 1.049 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3185, allocations: 35.44 kB / 1.049 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3185, allocations: 4 kB / 1.049 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of Templates: time 0.01324/0.3318, allocations: 8.422 MB / 1.057 GB, free: 1.184 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches