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.001901/0.001901, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002004/0.002004, allocations: 210.9 kB / 22.24 MB, free: 5.258 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.551/1.551, allocations: 230.6 MB / 256 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.785/2.785, allocations: 476 MB / 0.7699 GB, free: 4.738 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",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.002098/0.002098, allocations: 64.58 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 169.9 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005359/0.3589, allocations: 3.458 MB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0049/0.3638, allocations: 2.423 MB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/0.3643, allocations: 23.81 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009075/0.3652, allocations: 236.3 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3665, allocations: 0.5366 MB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.3681, allocations: 0.5588 MB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.3702, allocations: 1.402 MB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.3704, allocations: 93.72 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006989/0.3711, allocations: 450.5 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006848/0.3718, allocations: 474.1 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.3719, allocations: 56 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3721, allocations: 68 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.3726, allocations: 394.8 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.373, allocations: 390.2 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3742, allocations: 0.9647 MB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3742, allocations: 0 / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.178e-06/0.3742, allocations: 4 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.3742, allocations: 0 / 1.294 GB, free: 0.9102 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.002654/0.3769, allocations: 1.228 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.3769, allocations: 8.031 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.547e-05/0.377, allocations: 74.72 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.3773, allocations: 120.3 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3786, allocations: 0.6066 MB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.3786, allocations: 40.97 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3787, allocations: 64.08 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.3794, allocations: 418.9 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3795, allocations: 0 / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.3795, allocations: 12 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3795, allocations: 8 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.38, allocations: 238.4 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.3836, allocations: 1.883 MB / 1.298 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3852, allocations: 0.5297 MB / 1.299 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.3855, allocations: 153.3 kB / 1.299 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3855, allocations: 4 kB / 1.299 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3855, allocations: 30.56 kB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/0.3855, allocations: 0 / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001767/0.3873, allocations: 0.6579 MB / 1.3 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3873, allocations: 51.41 kB / 1.3 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.3889, allocations: 0.9426 MB / 1.301 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.389, allocations: 41.7 kB / 1.301 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.3894, allocations: 373.2 kB / 1.301 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.3895, allocations: 119 kB / 1.301 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.3898, allocations: 174.6 kB / 1.301 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.39, allocations: 394.7 kB / 1.302 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.3904, allocations: 241.8 kB / 1.302 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.3912, allocations: 0.6391 MB / 1.303 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3925, allocations: 0.8966 MB / 1.303 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.3925, allocations: 4 kB / 1.303 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00189/0.3944, allocations: 1.011 MB / 1.304 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3945, allocations: 12 kB / 1.304 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.3945, allocations: 19.94 kB / 1.304 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004449/0.3949, allocations: 122.8 kB / 1.305 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.3956, allocations: 191.6 kB / 1.305 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.3995, allocations: 4.159 MB / 1.309 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.4005, allocations: 115.2 kB / 1.309 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.4006, allocations: 43.94 kB / 1.309 GB, free: 336 kB / 0.9981 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.0003698/0.4009, allocations: 277.5 kB / 1.309 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4011, allocations: 87.44 kB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.4012, allocations: 80.48 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4012, allocations: 4 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4012, allocations: 0 / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4012, allocations: 3.984 kB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.402, allocations: 0.5236 MB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.402, allocations: 0 / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.4023, allocations: 55.95 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003414/0.4027, allocations: 110.4 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.4027, allocations: 15.98 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004006/0.4067, allocations: 4.123 MB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4067, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.4081, allocations: 0.7434 MB / 1.315 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.4085, allocations: 139.2 kB / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.4086, allocations: 11.98 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.4091, allocations: 24.16 kB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4092, allocations: 23.95 kB / 1.315 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.4092, allocations: 19.98 kB / 1.315 GB, free: 9.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009554/0.4101, allocations: 0.6278 MB / 1.316 GB, free: 9.043 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4101, allocations: 0 / 1.316 GB, free: 9.043 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009371/0.4111, allocations: 267.8 kB / 1.316 GB, free: 8.781 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.001623/0.4127, allocations: 1.296 MB / 1.317 GB, free: 7.445 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.4143, allocations: 0.8966 MB / 1.318 GB, free: 6.512 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4143, allocations: 4 kB / 1.318 GB, free: 6.508 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.4151, allocations: 0.5208 MB / 1.319 GB, free: 5.949 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.416, allocations: 178.8 kB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.4281, allocations: 7.846 MB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.4286, allocations: 392.5 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.4291, allocations: 149.9 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/0.4296, allocations: 279.3 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of SimCode: time 1.643e-06/0.4296, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08161/0.5113, allocations: 19.17 MB / 1.346 GB, free: 9.797 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.2, allocations: 4.062 kB / 1.346 GB, free: 9.793 MB / 1.045 GB " [Timeout remaining time 286] (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.076495749875903]