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.0008864/0.0008864, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001307/0.001307, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.9603/0.9603, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.347e-06/3.347e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.749e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004978/0.005005, allocations: 2.592 MB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004586/0.009591, allocations: 2.609 MB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.01008, allocations: 19.88 kB / 0.9556 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.01197, allocations: 493.9 kB / 0.956 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007711/0.01274, allocations: 306.6 kB / 0.9563 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/0.01358, allocations: 412.2 kB / 0.9567 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.01477, allocations: 1.6 MB / 0.9583 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.01495, allocations: 66.42 kB / 0.9583 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/0.01559, allocations: 0.6005 MB / 0.9589 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.016, allocations: 411 kB / 0.9593 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.01606, allocations: 48 kB / 0.9594 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.01618, allocations: 63.94 kB / 0.9594 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.01636, allocations: 307.2 kB / 0.9597 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.01653, allocations: 251.4 kB / 0.96 GB, free: 9.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.01717, allocations: 0.9153 MB / 0.9608 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01718, allocations: 0 / 0.9608 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01718, allocations: 0 / 0.9608 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.01719, allocations: 0 / 0.9608 GB, free: 8.832 MB / 0.9167 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.001378/0.01856, allocations: 1.092 MB / 0.9619 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.01861, allocations: 12.03 kB / 0.9619 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.01866, allocations: 62.72 kB / 0.962 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.01881, allocations: 84.42 kB / 0.9621 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.01949, allocations: 0.6258 MB / 0.9627 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.01951, allocations: 32.86 kB / 0.9627 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.01956, allocations: 40.38 kB / 0.9627 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.01996, allocations: 374.6 kB / 0.9631 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01998, allocations: 192 / 0.9631 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.02, allocations: 11.94 kB / 0.9631 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.02001, allocations: 4 kB / 0.9631 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.02028, allocations: 241.7 kB / 0.9633 GB, free: 6.18 MB / 0.9167 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.00206/0.02234, allocations: 1.796 MB / 0.9651 GB, free: 4.312 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.02292, allocations: 389.4 kB / 0.9655 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.02305, allocations: 128.8 kB / 0.9656 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.02307, allocations: 11.92 kB / 0.9656 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.02308, allocations: 34.5 kB / 0.9656 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 2.474e-06/0.02309, allocations: 0 / 0.9656 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0006138/0.0237, allocations: 462.1 kB / 0.9661 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.02373, allocations: 55.41 kB / 0.9661 GB, free: 3.215 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.02451, allocations: 0.9531 MB / 0.9671 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.02453, allocations: 33.7 kB / 0.9671 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.02471, allocations: 304.8 kB / 0.9674 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.02478, allocations: 75.38 kB / 0.9675 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.02489, allocations: 118.3 kB / 0.9676 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.02502, allocations: 378.8 kB / 0.9679 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.02524, allocations: 237.1 kB / 0.9682 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.02559, allocations: 0.5135 MB / 0.9687 GB, free: 472 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.0261, allocations: 0.701 MB / 0.9693 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.02611, allocations: 0 / 0.9693 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007852/0.02689, allocations: 0.8253 MB / 0.9702 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.02691, allocations: 8 kB / 0.9702 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.02692, allocations: 8 kB / 0.9702 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.02709, allocations: 52.83 kB / 0.9702 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.02733, allocations: 143.7 kB / 0.9704 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008562/0.02819, allocations: 1.439 MB / 0.9718 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.02857, allocations: 131.4 kB / 0.9719 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.02859, allocations: 28 kB / 0.9719 GB, free: 12.88 MB / 0.9323 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.0002641/0.02885, allocations: 338 kB / 0.9722 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.02891, allocations: 63.58 kB / 0.9723 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.02898, allocations: 73.88 kB / 0.9724 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02898, allocations: 0 / 0.9724 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.02899, allocations: 8.078 kB / 0.9724 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.02899, allocations: 4 kB / 0.9724 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.02937, allocations: 472.3 kB / 0.9728 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02937, allocations: 0 / 0.9728 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.02951, allocations: 55.89 kB / 0.9729 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.598e-05/0.0296, allocations: 32.83 kB / 0.9729 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.02961, allocations: 15.92 kB / 0.9729 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007688/0.03038, allocations: 1.416 MB / 0.9743 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.03038, allocations: 0 / 0.9743 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.03084, allocations: 0.5684 MB / 0.9749 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.031, allocations: 127.6 kB / 0.975 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.03104, allocations: 8 kB / 0.975 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.03124, allocations: 51.86 kB / 0.975 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.03128, allocations: 16.12 kB / 0.9751 GB, free: 9.457 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.03129, allocations: 7.938 kB / 0.9751 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005493/0.03184, allocations: 0.6629 MB / 0.9757 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.03184, allocations: 0 / 0.9757 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004214/0.03226, allocations: 187.8 kB / 0.9759 GB, free: 8.605 MB / 0.9323 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.0006972/0.03296, allocations: 1.115 MB / 0.977 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.03358, allocations: 0.5626 MB / 0.9775 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.03358, allocations: 384 / 0.9775 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.03378, allocations: 253 kB / 0.9778 GB, free: 6.633 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.03433, allocations: 174.9 kB / 0.9779 GB, free: 6.465 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.04004, allocations: 6.828 MB / 0.9846 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.04031, allocations: 408.8 kB / 0.985 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003192/0.04063, allocations: 184.5 kB / 0.9852 GB, free: 14.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.04086, allocations: 204.4 kB / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/0.04086, allocations: 0 / 0.9854 GB, free: 14.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.07493, allocations: 15.74 MB / 1.001 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.549, allocations: 4.062 kB / 1.001 GB, free: 15.11 MB / 0.9636 GB " [Timeout remaining time 292] (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/jenkins/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: 11.723098893649876]