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.0007651/0.0007654, 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.0008005/0.0008006, allocations: 181.7 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 10.16 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2952, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002935/0.2982, allocations: 2.428 MB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.3019, allocations: 2.746 MB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.3021, allocations: 7.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3034, allocations: 466.3 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.3039, allocations: 239 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.3046, allocations: 331.3 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.3063, allocations: 1.719 MB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3066, allocations: 121.7 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005308/0.3071, allocations: 402.8 kB / 1.068 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.3076, allocations: 394.6 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.3077, allocations: 20 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.3078, allocations: 28 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.308, allocations: 231.2 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.3084, allocations: 355.9 kB / 1.069 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.309, allocations: 0.717 MB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.309, allocations: 7.938 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.309, allocations: 0 / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.309, allocations: 0 / 1.069 GB, free: 10.79 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.001767/0.3108, allocations: 1.039 MB / 1.07 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3108, allocations: 11.97 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3109, allocations: 80 kB / 1.07 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.3118, allocations: 0.6409 MB / 1.071 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.3119, allocations: 28.94 kB / 1.071 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.3119, allocations: 40.38 kB / 1.071 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.3125, allocations: 382.8 kB / 1.071 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3125, allocations: 3.938 kB / 1.071 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3126, allocations: 8 kB / 1.071 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3126, allocations: 4 kB / 1.071 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.313, allocations: 245.5 kB / 1.072 GB, free: 8.207 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.003479/0.3165, allocations: 2.474 MB / 1.074 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/0.3175, allocations: 403.9 kB / 1.074 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3177, allocations: 144.7 kB / 1.075 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3177, allocations: 3.984 kB / 1.075 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3178, allocations: 34.56 kB / 1.075 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.226e-06/0.3178, allocations: 0 / 1.075 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.000987/0.3188, allocations: 0.5435 MB / 1.075 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3188, allocations: 55.39 kB / 1.075 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.32, allocations: 0.9298 MB / 1.076 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.32, allocations: 41.69 kB / 1.076 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.3203, allocations: 300.4 kB / 1.076 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.3204, allocations: 67.09 kB / 1.076 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.3205, allocations: 69.67 kB / 1.077 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3207, allocations: 386.7 kB / 1.077 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.3211, allocations: 232.9 kB / 1.077 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.3216, allocations: 0.5052 MB / 1.078 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008513/0.3225, allocations: 0.7115 MB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.3225, allocations: 4 kB / 1.078 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001233/0.3237, allocations: 0.8127 MB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.3238, allocations: 15.98 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3238, allocations: 8 kB / 1.079 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.324, allocations: 48.83 kB / 1.079 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.3245, allocations: 148 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3258, allocations: 1.432 MB / 1.081 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.3265, allocations: 127.2 kB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.3265, allocations: 28 kB / 1.081 GB, free: 14.04 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.0004034/0.3269, allocations: 349.3 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.327, allocations: 59.25 kB / 1.081 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3272, allocations: 70 kB / 1.081 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3272, allocations: 7.938 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3272, allocations: 0 / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3272, allocations: 4 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.3279, allocations: 0.583 MB / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3279, allocations: 0 / 1.082 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.3282, allocations: 47.95 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.3283, allocations: 40.77 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3283, allocations: 15.98 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3294, allocations: 1.42 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3294, allocations: 0 / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.3302, allocations: 0.5656 MB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.3305, allocations: 200.3 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.3306, allocations: 8.125 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/0.331, allocations: 63.91 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.331, allocations: 11.98 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.331, allocations: 0 / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008488/0.3319, allocations: 0.6668 MB / 1.085 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3319, allocations: 0 / 1.085 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006543/0.3326, allocations: 183.8 kB / 1.085 GB, free: 9.523 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.0001391/0.3327, allocations: 103.2 kB / 1.085 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.3336, allocations: 0.5829 MB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3337, allocations: 0 / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.334, allocations: 244.1 kB / 1.086 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.3349, allocations: 174.7 kB / 1.086 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3373, allocations: 1.839 MB / 1.088 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.3379, allocations: 1.003 MB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.3381, allocations: 39.44 kB / 1.089 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.3381, allocations: 4 kB / 1.089 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of Templates: time 0.01637/0.3545, allocations: 12.16 MB / 1.101 GB, free: 9.332 MB / 0.8575 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 -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