Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6647 GB, free: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7543, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003851/0.7582, allocations: 2.83 MB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.7609, allocations: 2.21 MB / 0.9545 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.7612, allocations: 11.31 kB / 0.9545 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.7624, allocations: 412 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.7628, allocations: 274.4 kB / 0.9552 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.7636, allocations: 349.3 kB / 0.9555 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.7651, allocations: 1.683 MB / 0.9571 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.7654, allocations: 160.9 kB / 0.9573 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.7662, allocations: 0.5818 MB / 0.9579 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.767, allocations: 0.5852 MB / 0.9584 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.7671, allocations: 71.25 kB / 0.9585 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.7673, allocations: 84.78 kB / 0.9586 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.7677, allocations: 371.7 kB / 0.9589 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.7682, allocations: 0.5273 MB / 0.9594 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.7693, allocations: 1.325 MB / 0.9607 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7693, allocations: 0 / 0.9607 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7693, allocations: 3.938 kB / 0.9607 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.7694, allocations: 1.562 kB / 0.9607 GB, free: 1.297 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002547/0.7719, allocations: 1.497 MB / 0.9622 GB, free: 212 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.772, allocations: 9 kB / 0.9622 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.7722, allocations: 109.4 kB / 0.9623 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.7741, allocations: 0.9755 MB / 0.9633 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.7741, allocations: 34.19 kB / 0.9633 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.7743, allocations: 54.42 kB / 0.9634 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/0.7752, allocations: 0.5443 MB / 0.9639 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7752, allocations: 1.094 kB / 0.9639 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.7753, allocations: 12.38 kB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.7753, allocations: 7.344 kB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.7759, allocations: 352.8 kB / 0.9642 GB, free: 14.88 MB / 0.7325 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.006416/0.7823, allocations: 3.858 MB / 0.968 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.7841, allocations: 0.6703 MB / 0.9687 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.7844, allocations: 196.8 kB / 0.9689 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.7845, allocations: 2.094 kB / 0.9689 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.7845, allocations: 36.75 kB / 0.9689 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.355e-06/0.7845, allocations: 0 / 0.9689 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.001504/0.786, allocations: 0.7658 MB / 0.9696 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.7861, allocations: 54.78 kB / 0.9697 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.7882, allocations: 1.429 MB / 0.9711 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.7883, allocations: 36.7 kB / 0.9711 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.7887, allocations: 412.9 kB / 0.9715 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.7889, allocations: 106.5 kB / 0.9716 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.7891, allocations: 160.2 kB / 0.9718 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7892, allocations: 337 kB / 0.9721 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.7897, allocations: 287.2 kB / 0.9724 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.7903, allocations: 0.5807 MB / 0.9729 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.7913, allocations: 0.8765 MB / 0.9738 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.7914, allocations: 2.594 kB / 0.9738 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002133/0.7935, allocations: 1.268 MB / 0.975 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.7935, allocations: 11.38 kB / 0.975 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.7936, allocations: 13.22 kB / 0.9751 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.7949, allocations: 452.7 kB / 0.9755 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.7953, allocations: 107.8 kB / 0.9756 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.8014, allocations: 4.691 MB / 0.9802 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.8031, allocations: 226.9 kB / 0.9804 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.8032, allocations: 35.94 kB / 0.9804 GB, free: 1.285 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000693/0.8039, allocations: 425.4 kB / 0.9808 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.804, allocations: 90.88 kB / 0.9809 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.8042, allocations: 108.8 kB / 0.981 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.8042, allocations: 0 / 0.981 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/0.8042, allocations: 4 kB / 0.981 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8042, allocations: 0 / 0.981 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.8054, allocations: 0.9355 MB / 0.9819 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8054, allocations: 0 / 0.9819 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.8058, allocations: 91.91 kB / 0.982 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.806, allocations: 40.83 kB / 0.9821 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.806, allocations: 19.98 kB / 0.9821 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.8072, allocations: 1.523 MB / 0.9836 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8073, allocations: 4.031 kB / 0.9836 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.8084, allocations: 0.8214 MB / 0.9844 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.8089, allocations: 295.8 kB / 0.9847 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.809, allocations: 15.98 kB / 0.9847 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.8098, allocations: 99.81 kB / 0.9848 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.8098, allocations: 23.91 kB / 0.9848 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.8099, allocations: 12 kB / 0.9848 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001445/0.8113, allocations: 1.006 MB / 0.9858 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8113, allocations: 0 / 0.9858 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001244/0.8126, allocations: 459.8 kB / 0.9862 GB, free: 11.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.0001477/0.8127, allocations: 120.9 kB / 0.9863 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.8146, allocations: 0.9878 MB / 0.9873 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8147, allocations: 4.25 kB / 0.9873 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.8151, allocations: 323.8 kB / 0.9876 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8163, allocations: 282.1 kB / 0.9879 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.8196, allocations: 2.31 MB / 0.9901 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/0.8204, allocations: 1.152 MB / 0.9913 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005609/0.821, allocations: 238.5 kB / 0.9915 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.8212, allocations: 55.42 kB / 0.9915 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of SimCode: time 1.703e-06/0.8212, allocations: 0 / 0.9915 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of Templates: time 0.026/0.8472, allocations: 15.69 MB / 1.007 GB, free: 6.055 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches