Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 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.001595/0.001595, allocations: 194 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 66.12 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3654, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004614/0.3701, allocations: 3.728 MB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004015/0.3741, allocations: 2.509 MB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.3747, allocations: 15.88 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.3756, allocations: 250.3 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.377, allocations: 0.4937 MB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.3785, allocations: 0.5335 MB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3801, allocations: 1.39 MB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.3804, allocations: 141.1 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.3813, allocations: 430.5 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008389/0.3821, allocations: 0.5138 MB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.3823, allocations: 56 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.3826, allocations: 64 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.3829, allocations: 343 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000751/0.3837, allocations: 465.6 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.3846, allocations: 0.9185 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3846, allocations: 4 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3846, allocations: 0 / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.3847, allocations: 3.938 kB / 1.08 GB, free: 14.58 MB / 0.8419 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.002211/0.3869, allocations: 1.265 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3869, allocations: 19.97 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.3871, allocations: 99.72 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008919/0.388, allocations: 0.6559 MB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.388, allocations: 44.97 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.3881, allocations: 56.38 kB / 1.082 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.3887, allocations: 410.9 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3887, allocations: 4 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.3888, allocations: 12 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3888, allocations: 12 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.3892, allocations: 230.4 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.3921, allocations: 2.513 MB / 1.085 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.3935, allocations: 0.5454 MB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.3937, allocations: 161.3 kB / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3938, allocations: 4 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3938, allocations: 38.55 kB / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.3938, allocations: 0 / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001495/0.3953, allocations: 0.8857 MB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3953, allocations: 55.41 kB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3964, allocations: 0.9232 MB / 1.087 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3964, allocations: 41.7 kB / 1.087 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.3967, allocations: 364.7 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.554e-05/0.3968, allocations: 114.4 kB / 1.088 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.397, allocations: 174.6 kB / 1.088 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3972, allocations: 398.7 kB / 1.088 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.3976, allocations: 237.8 kB / 1.089 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.3982, allocations: 0.6426 MB / 1.089 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009749/0.3991, allocations: 0.9008 MB / 1.09 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3992, allocations: 4 kB / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001456/0.4006, allocations: 1.011 MB / 1.091 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4006, allocations: 12 kB / 1.091 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4007, allocations: 16 kB / 1.091 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.4011, allocations: 126.6 kB / 1.091 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.4017, allocations: 191.7 kB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.4047, allocations: 4.48 MB / 1.096 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.4056, allocations: 111 kB / 1.096 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.4056, allocations: 47.92 kB / 1.096 GB, free: 12.55 MB / 0.8575 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.4059, allocations: 274.3 kB / 1.096 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.406, allocations: 86.81 kB / 1.096 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.4061, allocations: 80.59 kB / 1.096 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4061, allocations: 0 / 1.096 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4062, allocations: 4 kB / 1.096 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4062, allocations: 3.984 kB / 1.096 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.4068, allocations: 0.657 MB / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4068, allocations: 0 / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.4072, allocations: 67.88 kB / 1.097 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.4075, allocations: 102.5 kB / 1.097 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.4075, allocations: 8 kB / 1.097 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.4104, allocations: 4.457 MB / 1.102 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4104, allocations: 0 / 1.102 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.4114, allocations: 0.7234 MB / 1.102 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4116, allocations: 215.8 kB / 1.103 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.4117, allocations: 8 kB / 1.103 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.4122, allocations: 23.97 kB / 1.103 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.4122, allocations: 23.91 kB / 1.103 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4123, allocations: 8 kB / 1.103 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007583/0.413, allocations: 0.6239 MB / 1.103 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.413, allocations: 0 / 1.103 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000775/0.4138, allocations: 267.8 kB / 1.103 GB, free: 4.406 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.000125/0.4139, allocations: 104 kB / 1.104 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.4153, allocations: 0.968 MB / 1.105 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4153, allocations: 0 / 1.105 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.4159, allocations: 0.5194 MB / 1.105 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.4167, allocations: 180.1 kB / 1.105 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.4192, allocations: 1.755 MB / 1.107 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4197, allocations: 0.9917 MB / 1.108 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003778/0.4201, allocations: 145.9 kB / 1.108 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4203, allocations: 43.44 kB / 1.108 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.4203, allocations: 0 / 1.108 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.01867/0.4389, allocations: 10.1 MB / 1.118 GB, free: 5.578 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches