Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008447/0.008447, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002045/0.002045, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 66.64 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.255, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004618/0.2597, allocations: 3.718 MB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.2636, allocations: 2.5 MB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004446/0.264, allocations: 19.88 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000764/0.2648, allocations: 246.7 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.2659, allocations: 0.4937 MB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2673, allocations: 0.5387 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.2688, allocations: 1.382 MB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.2691, allocations: 149.1 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.2698, allocations: 454.5 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/0.2706, allocations: 478.1 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2707, allocations: 56 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.2709, allocations: 56 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.2712, allocations: 359 kB / 1.098 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.2717, allocations: 457.6 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.2726, allocations: 0.9069 MB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2726, allocations: 0 / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2726, allocations: 4 kB / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.2726, allocations: 0 / 1.099 GB, free: 6.176 MB / 0.8575 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.002223/0.2749, allocations: 1.237 MB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2749, allocations: 12.03 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.823e-05/0.275, allocations: 74.72 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.2752, allocations: 99.72 kB / 1.1 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.2763, allocations: 0.6675 MB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.2763, allocations: 41.03 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.2764, allocations: 60.12 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.277, allocations: 402.9 kB / 1.101 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.277, allocations: 4 kB / 1.101 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.277, allocations: 12 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.277, allocations: 8 kB / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.2774, allocations: 226.4 kB / 1.102 GB, free: 3.215 MB / 0.8575 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.002958/0.2804, allocations: 2.494 MB / 1.104 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.2816, allocations: 487.2 kB / 1.105 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.2819, allocations: 153.3 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2819, allocations: 4.234 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2819, allocations: 38.78 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.2819, allocations: 0 / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002003/0.2839, allocations: 1.212 MB / 1.106 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.284, allocations: 59.41 kB / 1.106 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2851, allocations: 0.9154 MB / 1.107 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.2852, allocations: 41.7 kB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.2854, allocations: 368.6 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2856, allocations: 114.4 kB / 1.107 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.2857, allocations: 166.6 kB / 1.108 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2859, allocations: 390.8 kB / 1.108 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.2863, allocations: 233.8 kB / 1.108 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/0.2869, allocations: 0.6269 MB / 1.109 GB, free: 11.42 MB / 0.8731 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.2897, allocations: 1.76 MB / 1.11 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.2898, allocations: 7.938 kB / 1.111 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001418/0.2912, allocations: 0.907 MB / 1.111 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2912, allocations: 15.94 kB / 1.111 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2913, allocations: 12.75 kB / 1.111 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.2914, allocations: 52.83 kB / 1.111 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.2921, allocations: 203.7 kB / 1.112 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.2932, allocations: 1.464 MB / 1.113 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.294, allocations: 39.98 kB / 1.113 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.294, allocations: 43.98 kB / 1.113 GB, free: 6.535 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0003524/0.2944, allocations: 305.9 kB / 1.113 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2945, allocations: 82.91 kB / 1.114 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.2946, allocations: 72.53 kB / 1.114 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2946, allocations: 4 kB / 1.114 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2946, allocations: 0 / 1.114 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2947, allocations: 3.984 kB / 1.114 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.2963, allocations: 1.138 MB / 1.115 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2963, allocations: 0 / 1.115 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.2967, allocations: 87.88 kB / 1.115 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.2968, allocations: 36.95 kB / 1.115 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.2968, allocations: 8 kB / 1.115 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009884/0.2978, allocations: 1.437 MB / 1.116 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2978, allocations: 0 / 1.116 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.2987, allocations: 0.6555 MB / 1.117 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.299, allocations: 192.1 kB / 1.117 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.2991, allocations: 11.98 kB / 1.117 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2995, allocations: 15.98 kB / 1.117 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.2996, allocations: 27.91 kB / 1.117 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2996, allocations: 8 kB / 1.117 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000788/0.3004, allocations: 0.6278 MB / 1.118 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3004, allocations: 0 / 1.118 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007417/0.3012, allocations: 207.9 kB / 1.118 GB, free: 1.359 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.001144/0.3023, allocations: 1.201 MB / 1.119 GB, free: 120 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.3035, allocations: 0.6497 MB / 1.12 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3035, allocations: 0 / 1.12 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.3038, allocations: 262.5 kB / 1.12 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.3047, allocations: 191.9 kB / 1.12 GB, free: 15 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009058/0.3138, allocations: 7.389 MB / 1.127 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.3143, allocations: 0.9877 MB / 1.128 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003967/0.3147, allocations: 149.8 kB / 1.129 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.3151, allocations: 291.3 kB / 1.129 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of SimCode: time 8.11e-07/0.3151, allocations: 0 / 1.129 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.398/1.713, allocations: 16.38 MB / 1.145 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/15.25, allocations: 14 kB / 1.145 GB, free: 5.461 MB / 0.9044 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches