Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001474/0.001474, 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.001509/0.001509, allocations: 211.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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.742 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.809/2.809, allocations: 476 MB / 0.7699 GB, free: 4.723 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.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.002135/0.002135, allocations: 66.7 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004343/0.3333, allocations: 2.611 MB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.3376, allocations: 2.603 MB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.3378, allocations: 11.94 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.3394, allocations: 490 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006882/0.3401, allocations: 302.8 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3412, allocations: 408.8 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.3432, allocations: 1.563 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3434, allocations: 89.06 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007845/0.3442, allocations: 482.9 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/0.3449, allocations: 442.5 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.345, allocations: 48 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3451, allocations: 59.98 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.3455, allocations: 291.2 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.3458, allocations: 298.7 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.347, allocations: 0.938 MB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.347, allocations: 3.938 kB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.347, allocations: 0 / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.347, allocations: 0 / 1.293 GB, free: 1.848 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002265/0.3493, allocations: 1.1 MB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3493, allocations: 12.03 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.959e-05/0.3494, allocations: 58.72 kB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.3496, allocations: 80.47 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3509, allocations: 0.6266 MB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.3509, allocations: 28.88 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.351, allocations: 36.38 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.3516, allocations: 377.8 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3516, allocations: 0 / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3516, allocations: 12 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3516, allocations: 4 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.3521, allocations: 241.4 kB / 1.295 GB, free: 15.2 MB / 0.9981 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.003647/0.3557, allocations: 1.807 MB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3568, allocations: 398.3 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.357, allocations: 132.7 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.357, allocations: 0 / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.357, allocations: 34.56 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.357, allocations: 0 / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001001/0.358, allocations: 464.1 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3581, allocations: 59.34 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3594, allocations: 0.9454 MB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.3594, allocations: 33.7 kB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.3597, allocations: 304.8 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.3598, allocations: 83.31 kB / 1.299 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.36, allocations: 126.3 kB / 1.3 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3602, allocations: 378.7 kB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.3606, allocations: 241.1 kB / 1.3 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.3612, allocations: 0.5023 MB / 1.301 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.3622, allocations: 0.6946 MB / 1.301 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3622, allocations: 4 kB / 1.301 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001376/0.3635, allocations: 0.8167 MB / 1.302 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3636, allocations: 8 kB / 1.302 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.3636, allocations: 12 kB / 1.302 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.3638, allocations: 56.81 kB / 1.302 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.3643, allocations: 135.7 kB / 1.302 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.3657, allocations: 1.435 MB / 1.304 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.3665, allocations: 135.4 kB / 1.304 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.3665, allocations: 28 kB / 1.304 GB, free: 5.898 MB / 0.9981 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.0004204/0.367, allocations: 337.5 kB / 1.304 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3671, allocations: 67.52 kB / 1.304 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3672, allocations: 65.94 kB / 1.304 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3672, allocations: 4 kB / 1.304 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3672, allocations: 4.094 kB / 1.304 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3672, allocations: 0 / 1.304 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.3678, allocations: 480.3 kB / 1.305 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3678, allocations: 3.938 kB / 1.305 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3681, allocations: 55.83 kB / 1.305 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.3682, allocations: 40.83 kB / 1.305 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.3683, allocations: 11.98 kB / 1.305 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.3695, allocations: 1.416 MB / 1.306 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3695, allocations: 0 / 1.306 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.3704, allocations: 0.5684 MB / 1.307 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.3708, allocations: 127.5 kB / 1.307 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.3708, allocations: 8.125 kB / 1.307 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.3713, allocations: 59.84 kB / 1.307 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.3713, allocations: 16.08 kB / 1.307 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3713, allocations: 4 kB / 1.307 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009514/0.3723, allocations: 0.6668 MB / 1.308 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3723, allocations: 0 / 1.308 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006529/0.3729, allocations: 183.8 kB / 1.308 GB, free: 1.617 MB / 0.9981 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.001194/0.3741, allocations: 1.119 MB / 1.309 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009912/0.3751, allocations: 0.5627 MB / 1.31 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3751, allocations: 4.188 kB / 1.31 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.3755, allocations: 242.4 kB / 1.31 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008353/0.3763, allocations: 171.7 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/0.3861, allocations: 6.947 MB / 1.317 GB, free: 8.188 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3866, allocations: 416.8 kB / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004684/0.387, allocations: 180.5 kB / 1.317 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.3874, allocations: 207.4 kB / 1.318 GB, free: 7.379 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/0.3874, allocations: 0 / 1.318 GB, free: 7.379 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05139/0.4388, allocations: 15.62 MB / 1.333 GB, free: 8.117 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.71, allocations: 8 kB / 1.333 GB, free: 8.109 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.41294748103246]