Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0007712/0.0007712, allocations: 91.92 kB / 16.02 MB, free: 80 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.0008839/0.0008841, allocations: 179.4 kB / 16.92 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 443.2 MB / 0.7181 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 6 kB / 0.8801 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2592, allocations: 155.1 MB / 1.032 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00283/0.262, allocations: 2.418 MB / 1.034 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.2658, allocations: 2.766 MB / 1.037 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.2661, allocations: 11.94 kB / 1.037 GB, free: 15.49 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2675, allocations: 462.3 kB / 1.037 GB, free: 15.04 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.2681, allocations: 235 kB / 1.037 GB, free: 14.81 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008694/0.269, allocations: 331.3 kB / 1.038 GB, free: 14.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.2709, allocations: 1.719 MB / 1.039 GB, free: 12.76 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.2711, allocations: 127.3 kB / 1.039 GB, free: 12.63 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006971/0.2718, allocations: 402.7 kB / 1.04 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.2725, allocations: 390.6 kB / 1.04 GB, free: 11.86 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.2726, allocations: 24 kB / 1.04 GB, free: 11.83 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2727, allocations: 24 kB / 1.04 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.273, allocations: 227.2 kB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.2734, allocations: 355.9 kB / 1.041 GB, free: 11.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.274, allocations: 0.717 MB / 1.042 GB, free: 10.51 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.274, allocations: 0 / 1.042 GB, free: 10.51 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.502e-06/0.274, allocations: 0 / 1.042 GB, free: 10.51 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.274, allocations: 4 kB / 1.042 GB, free: 10.51 MB / 0.795 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.001943/0.276, allocations: 1.043 MB / 1.043 GB, free: 9.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.276, allocations: 8.031 kB / 1.043 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.2762, allocations: 83.94 kB / 1.043 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.2772, allocations: 0.6409 MB / 1.043 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2772, allocations: 28.94 kB / 1.043 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/0.2773, allocations: 36.38 kB / 1.043 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.2779, allocations: 382.8 kB / 1.044 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2779, allocations: 0 / 1.044 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.2779, allocations: 12 kB / 1.044 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2779, allocations: 4 kB / 1.044 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.2784, allocations: 249.4 kB / 1.044 GB, free: 7.922 MB / 0.795 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.003452/0.2818, allocations: 2.47 MB / 1.046 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.2828, allocations: 410.5 kB / 1.047 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.283, allocations: 136.7 kB / 1.047 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.283, allocations: 8 kB / 1.047 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.283, allocations: 34.56 kB / 1.047 GB, free: 4.664 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/0.283, allocations: 3.938 kB / 1.047 GB, free: 4.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0009514/0.284, allocations: 0.5388 MB / 1.047 GB, free: 4.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.284, allocations: 55.41 kB / 1.047 GB, free: 4.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.2852, allocations: 0.9298 MB / 1.048 GB, free: 3.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.2852, allocations: 37.7 kB / 1.048 GB, free: 3.047 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.2854, allocations: 304.4 kB / 1.049 GB, free: 2.746 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.2855, allocations: 63.09 kB / 1.049 GB, free: 2.684 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.2856, allocations: 65.69 kB / 1.049 GB, free: 2.613 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2858, allocations: 382.7 kB / 1.049 GB, free: 2.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2861, allocations: 252.8 kB / 1.049 GB, free: 1.984 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.2866, allocations: 0.4975 MB / 1.05 GB, free: 1.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007537/0.2874, allocations: 0.7049 MB / 1.051 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.2874, allocations: 4 kB / 1.051 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001172/0.2886, allocations: 0.815 MB / 1.051 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2886, allocations: 8.812 kB / 1.051 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.2886, allocations: 12 kB / 1.051 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.2888, allocations: 56.83 kB / 1.051 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.2893, allocations: 143.7 kB / 1.052 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.2904, allocations: 1.436 MB / 1.053 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.291, allocations: 127.2 kB / 1.053 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.2911, allocations: 28 kB / 1.053 GB, free: 13.75 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.0003615/0.2915, allocations: 354.2 kB / 1.054 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.2915, allocations: 55.25 kB / 1.054 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.2917, allocations: 70 kB / 1.054 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2917, allocations: 3.938 kB / 1.054 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2917, allocations: 0 / 1.054 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2917, allocations: 7.922 kB / 1.054 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.2923, allocations: 0.5752 MB / 1.054 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2923, allocations: 7.984 kB / 1.054 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.2926, allocations: 51.91 kB / 1.054 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.2927, allocations: 40.81 kB / 1.054 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.2927, allocations: 8 kB / 1.054 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009765/0.2937, allocations: 1.424 MB / 1.056 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2937, allocations: 3.938 kB / 1.056 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.2945, allocations: 0.5757 MB / 1.056 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.2947, allocations: 196.3 kB / 1.056 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.2948, allocations: 12.11 kB / 1.056 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.2952, allocations: 51.86 kB / 1.057 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.2952, allocations: 11.98 kB / 1.057 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2952, allocations: 4 kB / 1.057 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008113/0.2961, allocations: 0.6629 MB / 1.057 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2961, allocations: 4 kB / 1.057 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000598/0.2967, allocations: 179.8 kB / 1.057 GB, free: 9.25 MB / 0.8106 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.0001153/0.2968, allocations: 111.2 kB / 1.057 GB, free: 9.129 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008498/0.2976, allocations: 0.574 MB / 1.058 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2977, allocations: 4.688 kB / 1.058 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.298, allocations: 254.5 kB / 1.058 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.2988, allocations: 164.1 kB / 1.058 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3012, allocations: 1.842 MB / 1.06 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.3019, allocations: 1.006 MB / 1.061 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.302, allocations: 39.44 kB / 1.061 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.302, allocations: 0 / 1.061 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of Templates: time 0.01559/0.3176, allocations: 12.16 MB / 1.073 GB, free: 9.051 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches