Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001329/0.001329, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001542/0.001542, allocations: 219 kB / 23.03 MB, free: 4.945 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.406/3.406, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_12_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.001986/0.001986, allocations: 67.7 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 176.1 MB / 1.327 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004689/0.3521, allocations: 2.605 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.3566, allocations: 2.601 MB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.357, allocations: 11.88 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.3587, allocations: 494 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000752/0.3595, allocations: 302.8 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3606, allocations: 417.1 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.3627, allocations: 1.575 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.363, allocations: 76.25 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.3639, allocations: 486.7 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.3646, allocations: 426.5 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.3647, allocations: 48 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.3649, allocations: 56 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.3653, allocations: 299.1 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.3657, allocations: 298.7 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.3669, allocations: 0.9263 MB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3669, allocations: 4 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3669, allocations: 4 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.3669, allocations: 0 / 1.337 GB, free: 6.988 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.002747/0.3696, allocations: 1.103 MB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.3697, allocations: 8.031 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.939e-05/0.3697, allocations: 8.688 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.3698, allocations: 58.67 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.3701, allocations: 80.47 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.3713, allocations: 0.6266 MB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3713, allocations: 28.88 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/0.3714, allocations: 48.08 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.3721, allocations: 369.9 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3721, allocations: 4 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3721, allocations: 12 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3721, allocations: 8 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.3725, allocations: 233.5 kB / 1.339 GB, free: 4.328 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.003471/0.376, allocations: 1.799 MB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.377, allocations: 386.4 kB / 1.342 GB, free: 2.074 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3773, allocations: 128.8 kB / 1.342 GB, free: 1.945 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3773, allocations: 7.938 kB / 1.342 GB, free: 1.938 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3773, allocations: 30.56 kB / 1.342 GB, free: 1.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.3773, allocations: 4 kB / 1.342 GB, free: 1.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001024/0.3783, allocations: 483.5 kB / 1.342 GB, free: 1.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3784, allocations: 51.41 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3797, allocations: 0.9377 MB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.3797, allocations: 33.7 kB / 1.343 GB, free: 376 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.38, allocations: 300.8 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3801, allocations: 83.45 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.3803, allocations: 130.2 kB / 1.344 GB, free: 15.85 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3805, allocations: 382.7 kB / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.3809, allocations: 241.1 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.3816, allocations: 0.5098 MB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.3825, allocations: 0.6929 MB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.3825, allocations: 4 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001319/0.3838, allocations: 0.8176 MB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3839, allocations: 12 kB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3839, allocations: 8 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.3841, allocations: 61.5 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.3846, allocations: 139.8 kB / 1.346 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.3862, allocations: 1.427 MB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.3869, allocations: 127.4 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.3869, allocations: 24 kB / 1.348 GB, free: 11.03 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.0005194/0.3875, allocations: 346.1 kB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3876, allocations: 67.52 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.3877, allocations: 65.94 kB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3877, allocations: 4 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3877, allocations: 0 / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3877, allocations: 0 / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.3884, allocations: 480.2 kB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3884, allocations: 0 / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.3887, allocations: 47.95 kB / 1.349 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.3888, allocations: 52.75 kB / 1.349 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3888, allocations: 8 kB / 1.349 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.3901, allocations: 1.416 MB / 1.35 GB, free: 8.387 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.3902, allocations: 11.91 kB / 1.35 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.391, allocations: 0.5678 MB / 1.351 GB, free: 7.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.3913, allocations: 127.5 kB / 1.351 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.3914, allocations: 15.92 kB / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.3918, allocations: 43.92 kB / 1.351 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.3918, allocations: 11.97 kB / 1.351 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.3918, allocations: 4 kB / 1.351 GB, free: 7.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001005/0.3929, allocations: 0.6668 MB / 1.352 GB, free: 6.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3929, allocations: 0 / 1.352 GB, free: 6.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000761/0.3936, allocations: 187.8 kB / 1.352 GB, free: 6.746 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.001194/0.3948, allocations: 1.116 MB / 1.353 GB, free: 5.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.3958, allocations: 0.5625 MB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3958, allocations: 2 kB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.3962, allocations: 246.5 kB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.397, allocations: 176 kB / 1.354 GB, free: 4.605 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/0.4068, allocations: 6.961 MB / 1.361 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.4073, allocations: 404.8 kB / 1.361 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000475/0.4078, allocations: 184.5 kB / 1.361 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.4081, allocations: 203.4 kB / 1.362 GB, free: 12.51 MB / 1.061 GB Notification: Performance of SimCode: time 7.21e-07/0.4081, allocations: 0 / 1.362 GB, free: 12.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.4522, allocations: 15.25 MB / 1.376 GB, free: 13.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.76, allocations: 4.062 kB / 1.376 GB, free: 13.63 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.012660396983847]