Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_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.008459/0.008459, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001937/0.001937, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.391/1.391, 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 11.0.1-master/package.mo): time 2.874/2.874, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3123, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005322/0.3177, allocations: 3.727 MB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004877/0.3226, allocations: 2.497 MB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/0.3233, allocations: 11.94 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009402/0.3243, allocations: 258.3 kB / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.3259, allocations: 0.4899 MB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.3275, allocations: 0.5397 MB / 1.215 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3295, allocations: 1.375 MB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.3299, allocations: 149.1 kB / 1.216 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.3308, allocations: 446.5 kB / 1.217 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009413/0.3317, allocations: 486.1 kB / 1.217 GB, free: 180 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.3319, allocations: 52 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.3322, allocations: 64 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.3326, allocations: 343 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006737/0.3333, allocations: 461.5 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3343, allocations: 0.9108 MB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3343, allocations: 0 / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3344, allocations: 0 / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.124e-05/0.3344, allocations: 0 / 1.219 GB, free: 14.36 MB / 0.9825 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.002642/0.337, allocations: 1.255 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3371, allocations: 8.625 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.435e-05/0.3372, allocations: 74.66 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.3374, allocations: 103.7 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3386, allocations: 0.6598 MB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.3387, allocations: 45.03 kB / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.009e-05/0.3388, allocations: 60.12 kB / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.3394, allocations: 399 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3394, allocations: 0 / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3395, allocations: 12 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3395, allocations: 8 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.3399, allocations: 230.4 kB / 1.222 GB, free: 11.38 MB / 0.9825 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.003406/0.3433, allocations: 2.486 MB / 1.224 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.3447, allocations: 499.1 kB / 1.224 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.345, allocations: 161.2 kB / 1.225 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.345, allocations: 4.234 kB / 1.225 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.3451, allocations: 34.78 kB / 1.225 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.865e-06/0.3451, allocations: 0 / 1.225 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.002356/0.3475, allocations: 1.205 MB / 1.226 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3475, allocations: 55.41 kB / 1.226 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.3488, allocations: 0.9154 MB / 1.227 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.3488, allocations: 41.7 kB / 1.227 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.3492, allocations: 372.7 kB / 1.227 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3493, allocations: 114.4 kB / 1.227 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.3495, allocations: 166.6 kB / 1.227 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3498, allocations: 398.8 kB / 1.228 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.3502, allocations: 225.8 kB / 1.228 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.3508, allocations: 0.6231 MB / 1.229 GB, free: 3.598 MB / 0.9825 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.002986/0.3538, allocations: 1.763 MB / 1.23 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.3538, allocations: 7.938 kB / 1.23 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00155/0.3554, allocations: 0.9074 MB / 1.231 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.3554, allocations: 15.94 kB / 1.231 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.3555, allocations: 20.12 kB / 1.231 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.3557, allocations: 48.83 kB / 1.231 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.3564, allocations: 203.6 kB / 1.231 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.3576, allocations: 1.468 MB / 1.233 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.3584, allocations: 39.98 kB / 1.233 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.3585, allocations: 44.16 kB / 1.233 GB, free: 14.71 MB / 0.9981 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.0004023/0.3589, allocations: 301.3 kB / 1.233 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.359, allocations: 82.91 kB / 1.233 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.3592, allocations: 76.53 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3592, allocations: 4 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3592, allocations: 0 / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3592, allocations: 3.984 kB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.361, allocations: 1.134 MB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3611, allocations: 4 kB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.3615, allocations: 84 kB / 1.235 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.3616, allocations: 40.81 kB / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.3616, allocations: 8 kB / 1.235 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3627, allocations: 1.437 MB / 1.236 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3628, allocations: 0 / 1.236 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.3637, allocations: 0.6586 MB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.364, allocations: 196.1 kB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3642, allocations: 11.98 kB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.3646, allocations: 15.98 kB / 1.237 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.3647, allocations: 27.91 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3648, allocations: 12 kB / 1.237 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008794/0.3656, allocations: 0.6161 MB / 1.238 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3657, allocations: 0 / 1.238 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008221/0.3665, allocations: 211.9 kB / 1.238 GB, free: 9.527 MB / 0.9981 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.001309/0.3678, allocations: 1.207 MB / 1.239 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.3691, allocations: 0.6371 MB / 1.24 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3691, allocations: 0 / 1.24 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3695, allocations: 268.5 kB / 1.24 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.3705, allocations: 171.6 kB / 1.24 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.617/0.9875, allocations: 7.389 MB / 1.247 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.9882, allocations: 0.9816 MB / 1.248 GB, free: 36.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005923/0.9888, allocations: 156.6 kB / 1.248 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.9892, allocations: 291.6 kB / 1.249 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.9892, allocations: 1.062 kB / 1.249 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/1.038, allocations: 16.38 MB / 1.265 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.87, allocations: 9.203 kB / 1.265 GB, free: 35.37 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches