Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 112 kB / 16.37 MB, free: 5.539 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.001656/0.001656, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003667/0.2895, allocations: 2.758 MB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003671/0.2932, allocations: 2.781 MB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.2934, allocations: 4 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.2948, allocations: 0.4902 MB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.2953, allocations: 250.9 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00088/0.2962, allocations: 399 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2977, allocations: 1.527 MB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.2979, allocations: 147.1 kB / 1.035 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.2985, allocations: 474.8 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.299, allocations: 386.6 kB / 1.036 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.299, allocations: 48 kB / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.2991, allocations: 48 kB / 1.036 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.2994, allocations: 275.3 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.2998, allocations: 374.2 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.3005, allocations: 0.9074 MB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3005, allocations: 0 / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3005, allocations: 8 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3005, allocations: 3.938 kB / 1.037 GB, free: 7.191 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.001938/0.3025, allocations: 1.14 MB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3025, allocations: 12.03 kB / 1.038 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3026, allocations: 76 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.3037, allocations: 0.6721 MB / 1.039 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3037, allocations: 28.94 kB / 1.039 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3038, allocations: 40.36 kB / 1.039 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.3043, allocations: 382.8 kB / 1.04 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3043, allocations: 3.938 kB / 1.04 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.3044, allocations: 8 kB / 1.04 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3044, allocations: 8 kB / 1.04 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.3047, allocations: 229.5 kB / 1.04 GB, free: 4.492 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.003411/0.3082, allocations: 2.459 MB / 1.042 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009602/0.3091, allocations: 390.5 kB / 1.043 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3093, allocations: 148.7 kB / 1.043 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3094, allocations: 4 kB / 1.043 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3094, allocations: 38.86 kB / 1.043 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.3094, allocations: 0 / 1.043 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.000911/0.3103, allocations: 0.5323 MB / 1.043 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.3104, allocations: 59.41 kB / 1.043 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3115, allocations: 0.9298 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.3115, allocations: 37.7 kB / 1.044 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3117, allocations: 304.4 kB / 1.045 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.3118, allocations: 66.95 kB / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.312, allocations: 122.2 kB / 1.045 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3121, allocations: 382.7 kB / 1.045 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.3124, allocations: 240.9 kB / 1.045 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.3129, allocations: 0.4975 MB / 1.046 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.3137, allocations: 0.7016 MB / 1.047 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3137, allocations: 0 / 1.047 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001141/0.3148, allocations: 0.8176 MB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3149, allocations: 8 kB / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3149, allocations: 11.94 kB / 1.047 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.3151, allocations: 52.83 kB / 1.047 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.3155, allocations: 144.1 kB / 1.048 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3167, allocations: 1.538 MB / 1.049 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.3173, allocations: 127.2 kB / 1.049 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.3174, allocations: 28 kB / 1.049 GB, free: 10.2 MB / 0.8262 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.3177, allocations: 337.4 kB / 1.05 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.3178, allocations: 63.19 kB / 1.05 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3179, allocations: 77.88 kB / 1.05 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3179, allocations: 8.047 kB / 1.05 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3179, allocations: 0 / 1.05 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3179, allocations: 3.984 kB / 1.05 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.3185, allocations: 0.5791 MB / 1.05 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3185, allocations: 0 / 1.05 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3188, allocations: 51.89 kB / 1.05 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.3189, allocations: 44.81 kB / 1.05 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.319, allocations: 8 kB / 1.05 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.32, allocations: 1.515 MB / 1.052 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.32, allocations: 4.031 kB / 1.052 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007/0.3207, allocations: 0.5694 MB / 1.052 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.321, allocations: 196.3 kB / 1.053 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.3211, allocations: 11.98 kB / 1.053 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3215, allocations: 51.92 kB / 1.053 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3216, allocations: 11.98 kB / 1.053 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3216, allocations: 8.125 kB / 1.053 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007614/0.3223, allocations: 0.659 MB / 1.053 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3224, allocations: 0 / 1.053 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005755/0.3229, allocations: 187.8 kB / 1.053 GB, free: 5.594 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.0001337/0.3231, allocations: 107.2 kB / 1.054 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008144/0.3239, allocations: 0.5711 MB / 1.054 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3239, allocations: 4 kB / 1.054 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.3242, allocations: 246.5 kB / 1.054 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.325, allocations: 174.9 kB / 1.055 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.3269, allocations: 1.513 MB / 1.056 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.3274, allocations: 1.01 MB / 1.057 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.3278, allocations: 184.5 kB / 1.057 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3279, allocations: 35.44 kB / 1.057 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3279, allocations: 0 / 1.057 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.01356/0.3415, allocations: 8.422 MB / 1.065 GB, free: 9.363 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches