Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001265/0.001265, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001463/0.001463, allocations: 215 kB / 20.13 MB, free: 2.949 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.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.815/2.815, allocations: 0.49 GB / 0.7923 GB, free: 1.48 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.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.001958/0.001958, allocations: 71.89 kB / 1.149 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9721/0.9741, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004031/0.9781, allocations: 3.757 MB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.9818, allocations: 2.581 MB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.9822, allocations: 22.25 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.9829, allocations: 249.9 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009708/0.9839, allocations: 0.4957 MB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.9852, allocations: 0.5473 MB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.9871, allocations: 1.371 MB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.9873, allocations: 98.98 kB / 1.33 GB, free: 19.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/0.9881, allocations: 458.6 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.9889, allocations: 0.4948 MB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.989, allocations: 54.56 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.9892, allocations: 68.59 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.9896, allocations: 363.6 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.99, allocations: 456.9 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.9912, allocations: 0.9382 MB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.9912, allocations: 1.469 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9912, allocations: 0 / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.9912, allocations: 0 / 1.333 GB, free: 17.88 MB / 1.061 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.00239/0.9936, allocations: 1.291 MB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.9937, allocations: 13.64 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.341e-05/0.9937, allocations: 13.77 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.691e-05/0.9938, allocations: 69.33 kB / 1.334 GB, free: 16.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.9941, allocations: 112 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.9952, allocations: 0.669 MB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.9953, allocations: 41.66 kB / 1.335 GB, free: 16.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.9954, allocations: 61.47 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.9961, allocations: 400.3 kB / 1.336 GB, free: 16.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.9961, allocations: 5.312 kB / 1.336 GB, free: 16.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.9961, allocations: 11.06 kB / 1.336 GB, free: 16.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.9962, allocations: 8.562 kB / 1.336 GB, free: 16.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.9966, allocations: 230.5 kB / 1.336 GB, free: 16.09 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.9994, allocations: 2.504 MB / 1.338 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/1.001, allocations: 471.9 kB / 1.339 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.001, allocations: 144.2 kB / 1.339 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/1.001, allocations: 3.953 kB / 1.339 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/1.001, allocations: 32.3 kB / 1.339 GB, free: 13.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/1.001, allocations: 0 / 1.339 GB, free: 13.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.00217/1.003, allocations: 1.218 MB / 1.34 GB, free: 13.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.003, allocations: 59.22 kB / 1.34 GB, free: 13.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/1.004, allocations: 0.9296 MB / 1.341 GB, free: 12.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/1.004, allocations: 40.92 kB / 1.341 GB, free: 12.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/1.005, allocations: 370.3 kB / 1.342 GB, free: 12.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/1.005, allocations: 120.4 kB / 1.342 GB, free: 12.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/1.005, allocations: 170.4 kB / 1.342 GB, free: 12.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.005, allocations: 394.6 kB / 1.342 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/1.005, allocations: 226.5 kB / 1.342 GB, free: 11.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/1.006, allocations: 0.6219 MB / 1.343 GB, free: 11.23 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/1.009, allocations: 1.761 MB / 1.345 GB, free: 10.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.009, allocations: 4.375 kB / 1.345 GB, free: 10.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001455/1.01, allocations: 0.9041 MB / 1.346 GB, free: 9.766 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.01, allocations: 11.44 kB / 1.346 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/1.01, allocations: 14.94 kB / 1.346 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/1.01, allocations: 52.52 kB / 1.346 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/1.011, allocations: 206.6 kB / 1.346 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/1.012, allocations: 1.466 MB / 1.347 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/1.013, allocations: 48.02 kB / 1.347 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/1.013, allocations: 39.03 kB / 1.347 GB, free: 8.277 MB / 1.061 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003736/1.013, allocations: 310.1 kB / 1.348 GB, free: 8.082 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/1.013, allocations: 91.33 kB / 1.348 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/1.014, allocations: 80.3 kB / 1.348 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.014, allocations: 3.469 kB / 1.348 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.014, allocations: 5.938 kB / 1.348 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.014, allocations: 1.359 kB / 1.348 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/1.015, allocations: 1.135 MB / 1.349 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.015, allocations: 10.72 kB / 1.349 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/1.016, allocations: 85.05 kB / 1.349 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/1.016, allocations: 31.47 kB / 1.349 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/1.016, allocations: 9.797 kB / 1.349 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006832/1.016, allocations: 1.436 MB / 1.351 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.016, allocations: 5.906 kB / 1.351 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/1.017, allocations: 0.6683 MB / 1.351 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/1.017, allocations: 205 kB / 1.351 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/1.018, allocations: 14.52 kB / 1.351 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/1.018, allocations: 20.03 kB / 1.351 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/1.018, allocations: 17.88 kB / 1.351 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/1.018, allocations: 10.66 kB / 1.351 GB, free: 5.348 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008658/1.019, allocations: 0.6302 MB / 1.352 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.019, allocations: 0 / 1.352 GB, free: 5.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008809/1.02, allocations: 206.9 kB / 1.352 GB, free: 5.082 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.00098/1.021, allocations: 1.216 MB / 1.353 GB, free: 4.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001116/1.022, allocations: 0.612 MB / 1.354 GB, free: 3.922 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.022, allocations: 3.938 kB / 1.354 GB, free: 3.918 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003262/1.022, allocations: 262.1 kB / 1.354 GB, free: 3.762 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008692/1.023, allocations: 178 kB / 1.354 GB, free: 3.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009079/1.032, allocations: 7.432 MB / 1.362 GB, free: 15.22 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/1.033, allocations: 0.9911 MB / 1.363 GB, free: 14.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00049/1.033, allocations: 155.9 kB / 1.363 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.034, allocations: 294 kB / 1.363 GB, free: 14.25 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.034, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/1.088, allocations: 16.33 MB / 1.379 GB, free: 12.89 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.19, allocations: 8.906 kB / 1.379 GB, free: 12.89 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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: 18.60534894000739]