Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001717/0.001717, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002257/0.002257, allocations: 217.3 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.951/2.951, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.ConductorMultiLayer,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.002057/0.002057, allocations: 69.55 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.005464/0.3031, allocations: 2.789 MB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005348/0.3085, allocations: 2.877 MB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.3089, allocations: 7.938 kB / 1.29 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3109, allocations: 0.5136 MB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3119, allocations: 290.8 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3134, allocations: 418.9 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.3163, allocations: 1.579 MB / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.3166, allocations: 74.36 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.3177, allocations: 486.8 kB / 1.293 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008013/0.3185, allocations: 422.6 kB / 1.293 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3186, allocations: 48 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.3188, allocations: 63.98 kB / 1.293 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.3192, allocations: 291.1 kB / 1.294 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.3197, allocations: 382.2 kB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.3211, allocations: 0.9263 MB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3211, allocations: 0 / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3211, allocations: 0 / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.143e-05/0.3211, allocations: 0 / 1.295 GB, free: 0.582 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.002632/0.3237, allocations: 1.1 MB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3238, allocations: 12.03 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.333e-05/0.3238, allocations: 8.688 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.065e-05/0.3239, allocations: 62.72 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/0.3242, allocations: 80.47 kB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3253, allocations: 0.6265 MB / 1.297 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3253, allocations: 28.86 kB / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.123e-05/0.3254, allocations: 52.02 kB / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.326, allocations: 366 kB / 1.297 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.326, allocations: 3.938 kB / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.326, allocations: 12 kB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.326, allocations: 8 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.3265, allocations: 233.5 kB / 1.297 GB, free: 13.92 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.00397/0.3305, allocations: 2.424 MB / 1.3 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3315, allocations: 390.4 kB / 1.3 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3317, allocations: 136.8 kB / 1.3 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3317, allocations: 0 / 1.3 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3318, allocations: 30.56 kB / 1.3 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.3318, allocations: 8 kB / 1.3 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001063/0.3328, allocations: 472.5 kB / 1.301 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3329, allocations: 51.41 kB / 1.301 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.3342, allocations: 0.9416 MB / 1.302 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.3342, allocations: 37.7 kB / 1.302 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.3345, allocations: 292.8 kB / 1.302 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.3346, allocations: 91.31 kB / 1.302 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3348, allocations: 126.3 kB / 1.302 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.335, allocations: 378.7 kB / 1.303 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.3354, allocations: 237.1 kB / 1.303 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/0.336, allocations: 0.5062 MB / 1.303 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009057/0.3369, allocations: 0.6934 MB / 1.304 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.3369, allocations: 12 kB / 1.304 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00144/0.3383, allocations: 0.8103 MB / 1.305 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/0.3384, allocations: 12.16 kB / 1.305 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3384, allocations: 12 kB / 1.305 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.3386, allocations: 56.77 kB / 1.305 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.3392, allocations: 135.8 kB / 1.305 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.3405, allocations: 1.439 MB / 1.306 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.3413, allocations: 127.4 kB / 1.307 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.3414, allocations: 28 kB / 1.307 GB, free: 3.879 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.0004329/0.3418, allocations: 341.5 kB / 1.307 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.342, allocations: 67.52 kB / 1.307 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.3421, allocations: 69.94 kB / 1.307 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3421, allocations: 3.938 kB / 1.307 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3421, allocations: 0 / 1.307 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3421, allocations: 0 / 1.307 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007678/0.3429, allocations: 0.5586 MB / 1.308 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3429, allocations: 4 kB / 1.308 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.3431, allocations: 47.95 kB / 1.308 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.3433, allocations: 44.81 kB / 1.308 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3433, allocations: 8 kB / 1.308 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.3446, allocations: 1.423 MB / 1.309 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3446, allocations: 3.938 kB / 1.309 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.3455, allocations: 0.5723 MB / 1.31 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.3458, allocations: 131.5 kB / 1.31 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.3459, allocations: 15.88 kB / 1.31 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.3464, allocations: 39.92 kB / 1.31 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.3464, allocations: 15.97 kB / 1.31 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3464, allocations: 4 kB / 1.31 GB, free: 356 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001015/0.3474, allocations: 0.6668 MB / 1.311 GB, free: 15.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3474, allocations: 4 kB / 1.311 GB, free: 15.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008048/0.3483, allocations: 183.8 kB / 1.311 GB, free: 15.5 MB / 1.014 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.00138/0.3496, allocations: 1.119 MB / 1.312 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.3507, allocations: 0.567 MB / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3507, allocations: 0 / 1.312 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.3511, allocations: 249.6 kB / 1.313 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.352, allocations: 167.6 kB / 1.313 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3626, allocations: 6.956 MB / 1.32 GB, free: 6.059 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.3634, allocations: 1.01 MB / 1.321 GB, free: 5.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000472/0.3638, allocations: 180.5 kB / 1.321 GB, free: 4.844 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.3642, allocations: 203.4 kB / 1.321 GB, free: 4.648 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/0.3642, allocations: 3.938 kB / 1.321 GB, free: 4.645 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/0.4136, allocations: 14.56 MB / 1.335 GB, free: 6.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.41, allocations: 8.812 kB / 1.335 GB, free: 6.359 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.435259954014327]