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.001835/0.001835, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002052/0.002052, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8 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.4/3.4, allocations: 0.49 GB / 0.7959 GB, free: 33.54 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.002067/0.002067, allocations: 60.31 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 176.1 MB / 1.327 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004726/0.3641, allocations: 2.804 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004999/0.3691, allocations: 2.881 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.3695, allocations: 11.88 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.3712, allocations: 0.5019 MB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.372, allocations: 296.1 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3733, allocations: 424.8 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002431/0.3757, allocations: 1.567 MB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.3759, allocations: 70.42 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.3769, allocations: 494.7 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.3777, allocations: 426.5 kB / 1.336 GB, free: 8.547 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3778, allocations: 48 kB / 1.336 GB, free: 8.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.378, allocations: 56 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.3783, allocations: 291.1 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.3788, allocations: 378.2 kB / 1.337 GB, free: 7.789 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.38, allocations: 0.9224 MB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.38, allocations: 0 / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.38, allocations: 3.938 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.38, allocations: 0 / 1.337 GB, free: 6.859 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002532/0.3825, allocations: 1.104 MB / 1.339 GB, free: 5.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3826, allocations: 12.03 kB / 1.339 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.359e-05/0.3826, allocations: 12.56 kB / 1.339 GB, free: 5.699 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.3827, allocations: 58.73 kB / 1.339 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.3829, allocations: 84.45 kB / 1.339 GB, free: 5.551 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.3842, allocations: 0.6188 MB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.3842, allocations: 24.88 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.3843, allocations: 48.08 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.3849, allocations: 373.9 kB / 1.34 GB, free: 4.449 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3849, allocations: 0 / 1.34 GB, free: 4.449 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.385, allocations: 15.94 kB / 1.34 GB, free: 4.434 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.385, allocations: 7.984 kB / 1.34 GB, free: 4.426 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.3854, allocations: 237.5 kB / 1.34 GB, free: 4.191 MB / 1.029 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.004153/0.3896, allocations: 2.432 MB / 1.342 GB, free: 1.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3906, allocations: 382.5 kB / 1.343 GB, free: 1.191 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.3908, allocations: 140.7 kB / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3908, allocations: 0 / 1.343 GB, free: 1.051 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3909, allocations: 30.56 kB / 1.343 GB, free: 1.012 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.3909, allocations: 0 / 1.343 GB, free: 1.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001119/0.392, allocations: 479.3 kB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.392, allocations: 55.41 kB / 1.343 GB, free: 480 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.3934, allocations: 0.9415 MB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.3935, allocations: 37.7 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.3938, allocations: 300.8 kB / 1.345 GB, free: 15.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3939, allocations: 79.31 kB / 1.345 GB, free: 15.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.3941, allocations: 122.3 kB / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.3943, allocations: 378.7 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.3947, allocations: 245.1 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.3952, allocations: 0.506 MB / 1.346 GB, free: 13.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.3962, allocations: 0.6962 MB / 1.347 GB, free: 12.9 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3962, allocations: 4 kB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001413/0.3976, allocations: 0.8124 MB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3976, allocations: 12 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3976, allocations: 8 kB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.3979, allocations: 57.22 kB / 1.347 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.3984, allocations: 139.7 kB / 1.348 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.3998, allocations: 1.443 MB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.4007, allocations: 127.4 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.4007, allocations: 28 kB / 1.349 GB, free: 10.15 MB / 1.045 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.0004491/0.4011, allocations: 334.9 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4013, allocations: 71.5 kB / 1.35 GB, free: 9.742 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.4014, allocations: 74 kB / 1.35 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4014, allocations: 11.86 kB / 1.35 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4014, allocations: 0 / 1.35 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4014, allocations: 0 / 1.35 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007306/0.4022, allocations: 0.5586 MB / 1.35 GB, free: 9.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4022, allocations: 4 kB / 1.35 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.4024, allocations: 47.89 kB / 1.35 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.4026, allocations: 40.83 kB / 1.35 GB, free: 8.957 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.4026, allocations: 15.98 kB / 1.35 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.4039, allocations: 1.416 MB / 1.352 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4039, allocations: 3.938 kB / 1.352 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/0.4048, allocations: 0.5593 MB / 1.352 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/0.4051, allocations: 135.6 kB / 1.352 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.4052, allocations: 19.92 kB / 1.352 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.4056, allocations: 43.98 kB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.4057, allocations: 15.97 kB / 1.352 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4057, allocations: 4 kB / 1.352 GB, free: 6.609 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000968/0.4067, allocations: 0.6668 MB / 1.353 GB, free: 5.945 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4067, allocations: 0 / 1.353 GB, free: 5.945 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007375/0.4074, allocations: 183.8 kB / 1.353 GB, free: 5.766 MB / 1.045 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.001213/0.4086, allocations: 1.113 MB / 1.354 GB, free: 4.625 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.4097, allocations: 0.5626 MB / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4097, allocations: 0 / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.41, allocations: 243 kB / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.411, allocations: 178.5 kB / 1.355 GB, free: 3.633 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4215, allocations: 6.957 MB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.4223, allocations: 1.007 MB / 1.363 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005567/0.4228, allocations: 184.5 kB / 1.363 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.4232, allocations: 203.4 kB / 1.363 GB, free: 10.92 MB / 1.061 GB Notification: Performance of SimCode: time 9.21e-07/0.4232, allocations: 0 / 1.363 GB, free: 10.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.4705, allocations: 14.57 MB / 1.378 GB, free: 12.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.57, allocations: 0 / 1.378 GB, free: 12.63 MB / 1.076 GB " [Timeout remaining time 286] (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: 20.703332950011827]