Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001369/0.001369, allocations: 116.1 kB / 17.17 MB, free: 6 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.001397/0.001397, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.923/2.923, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.ConductorMultiLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.002311/0.002311, allocations: 71.84 kB / 1.149 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003182/1.044, allocations: 2.785 MB / 1.324 GB, free: 22.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003093/1.047, allocations: 2.852 MB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/1.048, allocations: 13.66 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/1.049, allocations: 0.4905 MB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005116/1.049, allocations: 267.6 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009298/1.05, allocations: 391.8 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001848/1.052, allocations: 1.533 MB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/1.052, allocations: 106.8 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007793/1.053, allocations: 489.8 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006385/1.054, allocations: 406.9 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.956e-05/1.054, allocations: 46.81 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/1.054, allocations: 66.08 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003566/1.054, allocations: 278.2 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004051/1.055, allocations: 376.3 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/1.056, allocations: 0.9236 MB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.056, allocations: 4.688 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/1.056, allocations: 0 / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.168e-05/1.056, allocations: 1.031 kB / 1.332 GB, free: 18.71 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002233/1.058, allocations: 1.173 MB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.058, allocations: 13.86 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.466e-05/1.058, allocations: 10.53 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/1.058, allocations: 65.44 kB / 1.333 GB, free: 17.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/1.059, allocations: 81.06 kB / 1.333 GB, free: 17.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.06, allocations: 0.6779 MB / 1.334 GB, free: 17.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/1.06, allocations: 27.44 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/1.06, allocations: 46.8 kB / 1.334 GB, free: 17.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/1.061, allocations: 375.6 kB / 1.335 GB, free: 17.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.061, allocations: 0.6875 kB / 1.335 GB, free: 17.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/1.061, allocations: 14.62 kB / 1.335 GB, free: 17.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/1.061, allocations: 10.19 kB / 1.335 GB, free: 17.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/1.061, allocations: 244.8 kB / 1.335 GB, free: 17.12 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.003547/1.065, allocations: 2.449 MB / 1.337 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/1.066, allocations: 386 kB / 1.338 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/1.066, allocations: 133.1 kB / 1.338 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/1.066, allocations: 2.875 kB / 1.338 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/1.066, allocations: 31.27 kB / 1.338 GB, free: 15.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/1.066, allocations: 5.719 kB / 1.338 GB, free: 15.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001024/1.067, allocations: 0.5334 MB / 1.338 GB, free: 15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/1.067, allocations: 58.66 kB / 1.338 GB, free: 14.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.068, allocations: 0.9354 MB / 1.339 GB, free: 14.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/1.068, allocations: 36.73 kB / 1.339 GB, free: 14.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.069, allocations: 311.7 kB / 1.34 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.069, allocations: 75.45 kB / 1.34 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.069, allocations: 126.4 kB / 1.34 GB, free: 14.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.069, allocations: 383.7 kB / 1.34 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/1.07, allocations: 234.8 kB / 1.34 GB, free: 13.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/1.07, allocations: 0.4994 MB / 1.341 GB, free: 13.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/1.071, allocations: 0.6983 MB / 1.342 GB, free: 12.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.071, allocations: 9.75 kB / 1.342 GB, free: 12.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001351/1.072, allocations: 0.8089 MB / 1.342 GB, free: 12.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.072, allocations: 13.78 kB / 1.342 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.072, allocations: 13.62 kB / 1.342 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000245/1.072, allocations: 54.89 kB / 1.342 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/1.073, allocations: 140.4 kB / 1.343 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/1.074, allocations: 1.534 MB / 1.344 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/1.075, allocations: 132.1 kB / 1.344 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/1.075, allocations: 27.81 kB / 1.344 GB, free: 10.98 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0004488/1.075, allocations: 340.5 kB / 1.345 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.075, allocations: 67.27 kB / 1.345 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/1.076, allocations: 67.36 kB / 1.345 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.076, allocations: 1.438 kB / 1.345 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.076, allocations: 5.5 kB / 1.345 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.076, allocations: 1.031 kB / 1.345 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/1.076, allocations: 0.5874 MB / 1.345 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.076, allocations: 0 / 1.345 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.077, allocations: 53.94 kB / 1.345 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001338/1.077, allocations: 41.69 kB / 1.345 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/1.077, allocations: 10.39 kB / 1.345 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008698/1.078, allocations: 1.522 MB / 1.347 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.078, allocations: 3.938 kB / 1.347 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007511/1.078, allocations: 0.5689 MB / 1.347 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/1.079, allocations: 210.6 kB / 1.348 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/1.079, allocations: 8.953 kB / 1.348 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/1.079, allocations: 47.69 kB / 1.348 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/1.079, allocations: 10.94 kB / 1.348 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/1.079, allocations: 7.5 kB / 1.348 GB, free: 8.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009632/1.08, allocations: 0.6656 MB / 1.348 GB, free: 8.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.08, allocations: 0 / 1.348 GB, free: 8.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007745/1.081, allocations: 182.8 kB / 1.348 GB, free: 8.141 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0009543/1.082, allocations: 1.12 MB / 1.35 GB, free: 7.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009619/1.083, allocations: 0.5638 MB / 1.35 GB, free: 7.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.083, allocations: 0 / 1.35 GB, free: 7.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/1.083, allocations: 239.6 kB / 1.35 GB, free: 6.926 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/1.084, allocations: 180.9 kB / 1.351 GB, free: 6.859 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/1.093, allocations: 6.941 MB / 1.357 GB, free: 3.105 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/1.094, allocations: 1.014 MB / 1.358 GB, free: 2.344 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005774/1.094, allocations: 182.5 kB / 1.358 GB, free: 2.328 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/1.095, allocations: 203.3 kB / 1.359 GB, free: 2.176 MB / 1.061 GB Notification: Performance of SimCode: time 1.724e-06/1.095, allocations: 0 / 1.359 GB, free: 2.176 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05267/1.147, allocations: 14.37 MB / 1.373 GB, free: 1.062 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.97, allocations: 15.03 kB / 1.373 GB, free: 1.055 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.393284943012986]