Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002142/0.002142, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002598/0.002598, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_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.002788/0.002788, allocations: 60.27 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3612, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005517/0.3667, allocations: 3.448 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00462/0.3713, allocations: 2.419 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.3717, allocations: 19.81 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.3726, allocations: 242.4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3739, allocations: 0.5483 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.3753, allocations: 0.5651 MB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.3771, allocations: 1.402 MB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.3774, allocations: 105.7 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.3781, allocations: 442.5 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/0.3789, allocations: 498.1 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.379, allocations: 56 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3792, allocations: 76 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.3796, allocations: 398.8 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.3801, allocations: 390.2 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3811, allocations: 0.9608 MB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3811, allocations: 0 / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3811, allocations: 4 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.3812, allocations: 0 / 1.338 GB, free: 5.906 MB / 1.029 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.002519/0.3837, allocations: 1.236 MB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3837, allocations: 12.03 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.766e-05/0.3838, allocations: 16.78 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.3838, allocations: 66.72 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.3842, allocations: 112.3 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.3853, allocations: 0.6182 MB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3853, allocations: 37.03 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.3854, allocations: 67.89 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.3861, allocations: 411 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3861, allocations: 0 / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3861, allocations: 12 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3862, allocations: 11.98 kB / 1.34 GB, free: 3.219 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.3866, allocations: 242.4 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.3895, allocations: 1.871 MB / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.391, allocations: 0.5292 MB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.3912, allocations: 148.8 kB / 1.343 GB, free: 360 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3913, allocations: 4 kB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3913, allocations: 34.56 kB / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.3913, allocations: 0 / 1.343 GB, free: 312 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001625/0.3929, allocations: 0.661 MB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.393, allocations: 55.41 kB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.3942, allocations: 0.9388 MB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.3943, allocations: 37.7 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.3946, allocations: 365.2 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3947, allocations: 130.9 kB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.3949, allocations: 170.6 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3951, allocations: 398.7 kB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.3955, allocations: 237.8 kB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/0.3963, allocations: 0.643 MB / 1.347 GB, free: 12.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3974, allocations: 0.8918 MB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.3975, allocations: 11.92 kB / 1.348 GB, free: 11.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00177/0.3992, allocations: 1.015 MB / 1.349 GB, free: 10.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3993, allocations: 15.94 kB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.3993, allocations: 12.59 kB / 1.349 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.3997, allocations: 130.4 kB / 1.349 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.4004, allocations: 191.7 kB / 1.349 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.4041, allocations: 4.144 MB / 1.353 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4051, allocations: 119.2 kB / 1.353 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.4052, allocations: 44.16 kB / 1.353 GB, free: 5.312 MB / 1.045 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.0003944/0.4056, allocations: 273.9 kB / 1.353 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4058, allocations: 83.44 kB / 1.353 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.4059, allocations: 76.52 kB / 1.353 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4059, allocations: 4 kB / 1.353 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4059, allocations: 4 kB / 1.353 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4059, allocations: 0 / 1.353 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.4067, allocations: 0.5236 MB / 1.354 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4067, allocations: 8 kB / 1.354 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.407, allocations: 59.89 kB / 1.354 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.4073, allocations: 98.5 kB / 1.354 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4074, allocations: 15.98 kB / 1.354 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003493/0.4109, allocations: 4.131 MB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4109, allocations: 4.281 kB / 1.358 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4122, allocations: 0.7399 MB / 1.359 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.4126, allocations: 135.2 kB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4127, allocations: 11.98 kB / 1.359 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005065/0.4132, allocations: 23.97 kB / 1.359 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.4133, allocations: 23.95 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4133, allocations: 8 kB / 1.359 GB, free: 14.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009232/0.4142, allocations: 0.6317 MB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4142, allocations: 0 / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000952/0.4152, allocations: 271.8 kB / 1.36 GB, free: 13.78 MB / 1.061 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.001543/0.4167, allocations: 1.307 MB / 1.361 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.4182, allocations: 0.8895 MB / 1.362 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4183, allocations: 0 / 1.362 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.4189, allocations: 0.5199 MB / 1.363 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.42, allocations: 173.4 kB / 1.363 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.4316, allocations: 7.846 MB / 1.37 GB, free: 2.391 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.432, allocations: 388.5 kB / 1.371 GB, free: 1.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005044/0.4325, allocations: 153.8 kB / 1.371 GB, free: 1.832 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.433, allocations: 283.3 kB / 1.371 GB, free: 1.555 MB / 1.061 GB Notification: Performance of SimCode: time 1.273e-06/0.433, allocations: 0 / 1.371 GB, free: 1.555 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05481/0.4878, allocations: 18.77 MB / 1.39 GB, free: 15.21 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.07, allocations: 1.719 kB / 1.39 GB, free: 15.21 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.33109648898244]