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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0108/0.0108, allocations: 101.8 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.002146/0.002147, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3328, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006002/0.3389, allocations: 3.728 MB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004592/0.3435, allocations: 2.501 MB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.3442, allocations: 15.94 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.3451, allocations: 254.3 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.3463, allocations: 0.4899 MB / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3476, allocations: 0.5468 MB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.349, allocations: 1.371 MB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.3493, allocations: 153.1 kB / 1.217 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.3498, allocations: 446.5 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.3505, allocations: 482.1 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.914e-05/0.3506, allocations: 52 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3507, allocations: 64 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.3511, allocations: 347 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00042/0.3516, allocations: 461.6 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.3524, allocations: 0.9069 MB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3524, allocations: 0 / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3524, allocations: 0 / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.822e-05/0.3524, allocations: 0 / 1.219 GB, free: 13.87 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.002227/0.3547, allocations: 1.257 MB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3547, allocations: 8.625 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3549, allocations: 99.81 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.3558, allocations: 0.6675 MB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.3559, allocations: 41.03 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.356, allocations: 56.36 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.3566, allocations: 402.9 kB / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3566, allocations: 0 / 1.222 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.3567, allocations: 20 kB / 1.222 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.3567, allocations: 8 kB / 1.222 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.3571, allocations: 230.4 kB / 1.222 GB, free: 10.96 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.002775/0.3599, allocations: 2.502 MB / 1.224 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.3612, allocations: 483.2 kB / 1.225 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3615, allocations: 153.2 kB / 1.225 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3615, allocations: 8.172 kB / 1.225 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3615, allocations: 38.73 kB / 1.225 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.3615, allocations: 0 / 1.225 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.002102/0.3636, allocations: 1.204 MB / 1.226 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.3637, allocations: 55.41 kB / 1.226 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3648, allocations: 0.9154 MB / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3649, allocations: 37.7 kB / 1.227 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.3651, allocations: 376.7 kB / 1.227 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.3652, allocations: 114.4 kB / 1.228 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.3655, allocations: 166.6 kB / 1.228 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002522/0.3657, allocations: 394.7 kB / 1.228 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.3661, allocations: 225.8 kB / 1.228 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.3668, allocations: 0.6231 MB / 1.229 GB, free: 3.18 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.002854/0.3696, allocations: 1.764 MB / 1.231 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3697, allocations: 4 kB / 1.231 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001341/0.371, allocations: 0.9111 MB / 1.232 GB, free: 268 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.371, allocations: 8 kB / 1.232 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.3711, allocations: 19.94 kB / 1.232 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.3713, allocations: 48.83 kB / 1.232 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.3719, allocations: 207.9 kB / 1.232 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.3731, allocations: 1.46 MB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.3738, allocations: 43.97 kB / 1.233 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.3738, allocations: 44 kB / 1.233 GB, free: 14.3 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.000355/0.3742, allocations: 295.6 kB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3743, allocations: 82.88 kB / 1.234 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.3744, allocations: 84.45 kB / 1.234 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3745, allocations: 8.062 kB / 1.234 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3745, allocations: 0 / 1.234 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3745, allocations: 0 / 1.234 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.3762, allocations: 1.135 MB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3762, allocations: 4 kB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.3766, allocations: 87.88 kB / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.3767, allocations: 28.84 kB / 1.235 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.3767, allocations: 11.98 kB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.3778, allocations: 1.433 MB / 1.236 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3778, allocations: 4.094 kB / 1.236 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.3786, allocations: 0.6546 MB / 1.237 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.3788, allocations: 204.1 kB / 1.237 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/0.3789, allocations: 8 kB / 1.237 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.3793, allocations: 19.92 kB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3794, allocations: 23.97 kB / 1.237 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3794, allocations: 7.938 kB / 1.237 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007627/0.3802, allocations: 0.62 MB / 1.238 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3802, allocations: 0 / 1.238 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007512/0.3809, allocations: 212 kB / 1.238 GB, free: 9.117 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.0001476/0.3811, allocations: 121.5 kB / 1.238 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.3822, allocations: 0.6422 MB / 1.239 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3822, allocations: 0 / 1.239 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.3826, allocations: 266.5 kB / 1.239 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.3834, allocations: 173.2 kB / 1.239 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3856, allocations: 1.605 MB / 1.241 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.3862, allocations: 0.9837 MB / 1.242 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000356/0.3866, allocations: 157.8 kB / 1.242 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3867, allocations: 51.44 kB / 1.242 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3867, allocations: 0 / 1.242 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.5907/0.9774, allocations: 9.08 MB / 1.251 GB, free: 36 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (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 & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches