Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 211.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.8 MB / 0.7715 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 61.23 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3395, allocations: 170 MB / 1.284 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006201/0.3457, allocations: 3.814 MB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007481/0.3531, allocations: 2.598 MB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009663/0.3541, allocations: 23.81 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.3556, allocations: 251 kB / 1.291 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.3579, allocations: 0.5327 MB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.3604, allocations: 0.5574 MB / 1.292 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002917/0.3633, allocations: 1.402 MB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.3637, allocations: 101.7 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.3649, allocations: 454.5 kB / 1.294 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3662, allocations: 498.1 kB / 1.294 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.3665, allocations: 60 kB / 1.294 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.3669, allocations: 68 kB / 1.294 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007441/0.3676, allocations: 398.8 kB / 1.295 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.3687, allocations: 465.7 kB / 1.295 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.3703, allocations: 0.953 MB / 1.296 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3703, allocations: 3.984 kB / 1.296 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3703, allocations: 4 kB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.3703, allocations: 0 / 1.296 GB, free: 15.59 MB / 0.9981 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.003446/0.3738, allocations: 1.232 MB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.3738, allocations: 8.031 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.489e-05/0.3739, allocations: 12.84 kB / 1.297 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.835e-05/0.374, allocations: 74.72 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.3745, allocations: 108.3 kB / 1.297 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.3761, allocations: 0.6182 MB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.3761, allocations: 37.03 kB / 1.298 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3762, allocations: 63.89 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.3771, allocations: 419 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3771, allocations: 3.938 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.3772, allocations: 12 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.3772, allocations: 8 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.3778, allocations: 230.4 kB / 1.299 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.3823, allocations: 2.456 MB / 1.301 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.3844, allocations: 0.5441 MB / 1.302 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.3848, allocations: 152.7 kB / 1.302 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3848, allocations: 7.938 kB / 1.302 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3848, allocations: 30.56 kB / 1.302 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 3.256e-06/0.3848, allocations: 0 / 1.302 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.002478/0.3873, allocations: 0.6657 MB / 1.302 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3874, allocations: 51.41 kB / 1.303 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.3893, allocations: 0.9349 MB / 1.303 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.323e-05/0.3893, allocations: 41.7 kB / 1.303 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.3898, allocations: 373.2 kB / 1.304 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.39, allocations: 115 kB / 1.304 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.3903, allocations: 170.6 kB / 1.304 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.3906, allocations: 402.7 kB / 1.304 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.3912, allocations: 241.8 kB / 1.305 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3922, allocations: 0.643 MB / 1.305 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.3937, allocations: 0.889 MB / 1.306 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3937, allocations: 4 kB / 1.306 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002531/0.3962, allocations: 1.022 MB / 1.307 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.3963, allocations: 15.94 kB / 1.307 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.3963, allocations: 12 kB / 1.307 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.3969, allocations: 122.8 kB / 1.307 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.3978, allocations: 195.6 kB / 1.308 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/0.4027, allocations: 4.174 MB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4044, allocations: 119.2 kB / 1.312 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.4045, allocations: 47.94 kB / 1.312 GB, free: 14.29 MB / 1.014 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.0004897/0.405, allocations: 265.5 kB / 1.312 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.4052, allocations: 87.38 kB / 1.312 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.4054, allocations: 80.53 kB / 1.312 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4054, allocations: 0 / 1.312 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.4054, allocations: 4 kB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4054, allocations: 3.984 kB / 1.312 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.4066, allocations: 0.6365 MB / 1.313 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4066, allocations: 0 / 1.313 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.4071, allocations: 55.95 kB / 1.313 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.4076, allocations: 110.4 kB / 1.313 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.4076, allocations: 12 kB / 1.313 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004694/0.4123, allocations: 4.139 MB / 1.317 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4123, allocations: 4.031 kB / 1.317 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.4142, allocations: 0.7429 MB / 1.318 GB, free: 7.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.4146, allocations: 139.3 kB / 1.318 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.4147, allocations: 12 kB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.4152, allocations: 19.97 kB / 1.318 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.4152, allocations: 36.06 kB / 1.318 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4153, allocations: 8 kB / 1.318 GB, free: 7.512 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009136/0.4162, allocations: 0.6239 MB / 1.319 GB, free: 6.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4162, allocations: 0 / 1.319 GB, free: 6.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009468/0.4171, allocations: 267.8 kB / 1.319 GB, free: 6.633 MB / 1.014 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.001547/0.4187, allocations: 1.289 MB / 1.32 GB, free: 5.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.4202, allocations: 0.904 MB / 1.321 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4203, allocations: 0 / 1.321 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.4209, allocations: 0.5094 MB / 1.321 GB, free: 3.816 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008941/0.4218, allocations: 175.5 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.4345, allocations: 7.858 MB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007484/0.4353, allocations: 0.9878 MB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004921/0.4358, allocations: 149.8 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.4362, allocations: 279.3 kB / 1.331 GB, free: 9.805 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.4362, allocations: 0 / 1.331 GB, free: 9.805 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.4903, allocations: 17.84 MB / 1.348 GB, free: 8.254 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/13.81, allocations: 12.39 kB / 1.348 GB, free: 8.246 MB / 1.045 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.849615350016393]