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.001604/0.001604, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00177/0.00177, allocations: 224.3 kB / 23.03 MB, free: 4.945 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.853/2.853, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 176] 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.002015/0.002015, allocations: 65.12 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006071/0.3762, allocations: 3.45 MB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005452/0.3817, allocations: 2.407 MB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.3824, allocations: 19.81 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.3834, allocations: 248 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.3852, allocations: 0.5462 MB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.3869, allocations: 0.5651 MB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.3891, allocations: 1.406 MB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.3894, allocations: 105.7 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.3906, allocations: 442.5 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.3919, allocations: 0.4903 MB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.3923, allocations: 52 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.3927, allocations: 64 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005982/0.3933, allocations: 406.8 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.3939, allocations: 386.2 kB / 1.294 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.3955, allocations: 0.9686 MB / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.3955, allocations: 0 / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3955, allocations: 0 / 1.295 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.3956, allocations: 0 / 1.295 GB, free: 15.15 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.002688/0.3982, allocations: 1.236 MB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3983, allocations: 8.031 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.397e-05/0.3983, allocations: 8.844 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.87e-05/0.3984, allocations: 70.72 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.3988, allocations: 108.3 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.4001, allocations: 0.626 MB / 1.297 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.4002, allocations: 41.03 kB / 1.297 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.4003, allocations: 59.89 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.4009, allocations: 422.9 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.401, allocations: 0 / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.401, allocations: 16 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.401, allocations: 8 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.4014, allocations: 234.4 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.4046, allocations: 1.879 MB / 1.3 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.4061, allocations: 0.5313 MB / 1.3 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.4064, allocations: 140.8 kB / 1.301 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4064, allocations: 7.938 kB / 1.301 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4064, allocations: 38.56 kB / 1.301 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 4.137e-06/0.4064, allocations: 4 kB / 1.301 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001689/0.4081, allocations: 0.6617 MB / 1.301 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4082, allocations: 55.41 kB / 1.301 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.4096, allocations: 0.931 MB / 1.302 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.4097, allocations: 41.7 kB / 1.302 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.41, allocations: 369.2 kB / 1.303 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.4102, allocations: 126.9 kB / 1.303 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.4104, allocations: 166.6 kB / 1.303 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4106, allocations: 394.8 kB / 1.303 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.411, allocations: 249.8 kB / 1.304 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.4117, allocations: 0.6391 MB / 1.304 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.4129, allocations: 0.8891 MB / 1.305 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.4129, allocations: 4 kB / 1.305 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001892/0.4148, allocations: 1.019 MB / 1.306 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4148, allocations: 23.86 kB / 1.306 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4148, allocations: 12 kB / 1.306 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.4153, allocations: 118.5 kB / 1.306 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.416, allocations: 195.8 kB / 1.306 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.4197, allocations: 4.151 MB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4209, allocations: 119.2 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/0.4209, allocations: 47.94 kB / 1.311 GB, free: 14.54 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.0004051/0.4214, allocations: 257.5 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.4215, allocations: 83.44 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.4217, allocations: 84.52 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4217, allocations: 4.062 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.4217, allocations: 4.188 kB / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4217, allocations: 0 / 1.311 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/0.4224, allocations: 0.5274 MB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4224, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.4228, allocations: 67.88 kB / 1.312 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.4231, allocations: 106.4 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.4232, allocations: 11.98 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.4268, allocations: 4.139 MB / 1.316 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4268, allocations: 0 / 1.316 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.4281, allocations: 0.739 MB / 1.316 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.4285, allocations: 135.2 kB / 1.317 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4286, allocations: 8.125 kB / 1.317 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.4291, allocations: 31.95 kB / 1.317 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.4292, allocations: 27.89 kB / 1.317 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.4293, allocations: 4 kB / 1.317 GB, free: 7.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001041/0.4303, allocations: 0.6317 MB / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4303, allocations: 0 / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001104/0.4314, allocations: 267.8 kB / 1.317 GB, free: 7.008 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.001565/0.433, allocations: 1.286 MB / 1.319 GB, free: 5.684 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.4346, allocations: 0.9018 MB / 1.32 GB, free: 4.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4346, allocations: 4.062 kB / 1.32 GB, free: 4.742 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006955/0.4353, allocations: 0.5117 MB / 1.32 GB, free: 4.191 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4363, allocations: 173.1 kB / 1.32 GB, free: 4.027 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.4483, allocations: 7.868 MB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.4488, allocations: 392.5 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005419/0.4494, allocations: 145.9 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.4498, allocations: 287.3 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of SimCode: time 1.252e-06/0.4499, allocations: 0 / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06422/0.5141, allocations: 18.76 MB / 1.347 GB, free: 8.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.39, allocations: 10.19 kB / 1.347 GB, free: 8.449 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: 21.65945626492612]