Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001618/0.001618, allocations: 113 kB / 16.46 MB, free: 6.453 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.001616/0.001616, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.093/3.093, allocations: 0.49 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.002072/0.002072, allocations: 65.34 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 176.1 MB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004898/0.3579, allocations: 2.77 MB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004684/0.3626, allocations: 2.87 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.3629, allocations: 7.938 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.3645, allocations: 0.4902 MB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007331/0.3652, allocations: 262.8 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3663, allocations: 399 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.3683, allocations: 1.528 MB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.3686, allocations: 102.3 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008806/0.3694, allocations: 486.8 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007844/0.3702, allocations: 414.5 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.3704, allocations: 48 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3706, allocations: 52 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.371, allocations: 279.2 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.3715, allocations: 382.1 kB / 1.331 GB, free: 9.379 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3726, allocations: 0.9302 MB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3726, allocations: 0 / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3726, allocations: 0 / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.3727, allocations: 4 kB / 1.331 GB, free: 8.441 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.002563/0.3752, allocations: 1.173 MB / 1.333 GB, free: 7.219 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3753, allocations: 11.98 kB / 1.333 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.885e-05/0.3753, allocations: 62.72 kB / 1.333 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.3756, allocations: 84.41 kB / 1.333 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3766, allocations: 0.6766 MB / 1.333 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.3767, allocations: 28.94 kB / 1.333 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.3767, allocations: 40.33 kB / 1.334 GB, free: 6.273 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.3773, allocations: 386.6 kB / 1.334 GB, free: 5.871 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3773, allocations: 0 / 1.334 GB, free: 5.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.3774, allocations: 8 kB / 1.334 GB, free: 5.863 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3774, allocations: 8 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.3778, allocations: 237.4 kB / 1.334 GB, free: 5.617 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.003703/0.3815, allocations: 2.455 MB / 1.337 GB, free: 2.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3825, allocations: 388.8 kB / 1.337 GB, free: 2.586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3827, allocations: 140.7 kB / 1.337 GB, free: 2.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3828, allocations: 0 / 1.337 GB, free: 2.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3828, allocations: 38.56 kB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.113e-06/0.3828, allocations: 3.938 kB / 1.337 GB, free: 2.395 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001019/0.3838, allocations: 0.5343 MB / 1.338 GB, free: 1.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3838, allocations: 59.34 kB / 1.338 GB, free: 1.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3851, allocations: 0.9415 MB / 1.339 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.3851, allocations: 33.7 kB / 1.339 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.3854, allocations: 304.8 kB / 1.339 GB, free: 480 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.3855, allocations: 75.38 kB / 1.339 GB, free: 404 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3857, allocations: 122.2 kB / 1.339 GB, free: 276 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.3859, allocations: 386.7 kB / 1.339 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.3863, allocations: 236.9 kB / 1.34 GB, free: 15.65 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.3869, allocations: 0.5051 MB / 1.34 GB, free: 15.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.3878, allocations: 0.6925 MB / 1.341 GB, free: 14.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.3878, allocations: 7.984 kB / 1.341 GB, free: 14.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001386/0.3892, allocations: 0.8118 MB / 1.342 GB, free: 13.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.3892, allocations: 12 kB / 1.342 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3892, allocations: 8 kB / 1.342 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.3895, allocations: 56.81 kB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.39, allocations: 144 kB / 1.342 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3916, allocations: 1.535 MB / 1.343 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.3923, allocations: 131.4 kB / 1.343 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.3924, allocations: 24 kB / 1.343 GB, free: 11.32 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.0004979/0.3929, allocations: 341.4 kB / 1.344 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.393, allocations: 67.52 kB / 1.344 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3932, allocations: 66 kB / 1.344 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3932, allocations: 12.06 kB / 1.344 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3932, allocations: 0 / 1.344 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3932, allocations: 7.922 kB / 1.344 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.394, allocations: 0.5753 MB / 1.345 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.394, allocations: 3.938 kB / 1.345 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3942, allocations: 55.89 kB / 1.345 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.3944, allocations: 36.83 kB / 1.345 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.3944, allocations: 11.98 kB / 1.345 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.3958, allocations: 1.523 MB / 1.346 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3958, allocations: 0 / 1.346 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008904/0.3967, allocations: 0.5681 MB / 1.347 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.397, allocations: 208.6 kB / 1.347 GB, free: 7.613 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.3971, allocations: 11.98 kB / 1.347 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.3975, allocations: 51.92 kB / 1.347 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.3976, allocations: 11.98 kB / 1.347 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3976, allocations: 4 kB / 1.347 GB, free: 7.535 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009944/0.3986, allocations: 0.6668 MB / 1.348 GB, free: 6.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3986, allocations: 0 / 1.348 GB, free: 6.871 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006661/0.3993, allocations: 187.8 kB / 1.348 GB, free: 6.688 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.001225/0.4005, allocations: 1.119 MB / 1.349 GB, free: 5.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.4015, allocations: 0.5632 MB / 1.349 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4015, allocations: 0 / 1.349 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.4019, allocations: 246.4 kB / 1.35 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.4027, allocations: 172.2 kB / 1.35 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/0.4125, allocations: 6.944 MB / 1.357 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.4132, allocations: 0.9987 MB / 1.358 GB, free: 12.24 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004737/0.4137, allocations: 184.5 kB / 1.358 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.4141, allocations: 211.4 kB / 1.358 GB, free: 11.86 MB / 1.061 GB Notification: Performance of SimCode: time 1.283e-06/0.4141, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.4612, allocations: 14.33 MB / 1.372 GB, free: 13.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.81, allocations: 19.36 kB / 1.372 GB, free: 13.75 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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: 17.277201276039705]