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.001438/0.001439, allocations: 109.4 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.166/2.166, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 61.2 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004361/0.2786, allocations: 2.882 MB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003191/0.2818, allocations: 2.197 MB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.2822, allocations: 15.88 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.2836, allocations: 394.2 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006521/0.2844, allocations: 258.9 kB / 0.9554 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.2853, allocations: 311.4 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.2872, allocations: 1.72 MB / 0.9573 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.2875, allocations: 146.3 kB / 0.9575 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.2885, allocations: 0.6428 MB / 0.9581 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009367/0.2894, allocations: 0.6192 MB / 0.9587 GB, free: 44 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.2896, allocations: 68.05 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.2899, allocations: 92 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.2902, allocations: 378.8 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006773/0.2909, allocations: 0.5249 MB / 0.9597 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.2919, allocations: 1.119 MB / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2919, allocations: 0 / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2919, allocations: 0 / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.165e-05/0.292, allocations: 0 / 0.9608 GB, free: 13.87 MB / 0.7481 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.002978/0.295, allocations: 1.494 MB / 0.9623 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.295, allocations: 8.031 kB / 0.9623 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.2952, allocations: 111.6 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.2968, allocations: 0.9689 MB / 0.9633 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.2968, allocations: 44.97 kB / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.2969, allocations: 48.38 kB / 0.9634 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.2977, allocations: 0.5432 MB / 0.964 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2977, allocations: 3.938 kB / 0.964 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.2978, allocations: 19.98 kB / 0.964 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2978, allocations: 11.94 kB / 0.964 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005256/0.2983, allocations: 337.9 kB / 0.9643 GB, free: 10.14 MB / 0.7481 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.006145/0.3045, allocations: 3.87 MB / 0.9681 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.3063, allocations: 0.6524 MB / 0.9687 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.3066, allocations: 200.7 kB / 0.9689 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3066, allocations: 4.438 kB / 0.9689 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3066, allocations: 38.5 kB / 0.969 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3066, allocations: 0 / 0.969 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.001293/0.3079, allocations: 0.7581 MB / 0.9697 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.308, allocations: 59.41 kB / 0.9698 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3105, allocations: 1.436 MB / 0.9712 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.3106, allocations: 37.7 kB / 0.9712 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.311, allocations: 416.8 kB / 0.9716 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.3112, allocations: 102.6 kB / 0.9717 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.3114, allocations: 154.2 kB / 0.9718 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3116, allocations: 334 kB / 0.9722 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.312, allocations: 293.1 kB / 0.9724 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.3126, allocations: 0.5824 MB / 0.973 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3136, allocations: 0.8745 MB / 0.9739 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3137, allocations: 4 kB / 0.9739 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002/0.3157, allocations: 1.255 MB / 0.9751 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3157, allocations: 12 kB / 0.9751 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3157, allocations: 8 kB / 0.9751 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.317, allocations: 456.7 kB / 0.9755 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3173, allocations: 111.8 kB / 0.9757 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.3232, allocations: 4.699 MB / 0.9802 GB, free: 9.023 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3245, allocations: 222.9 kB / 0.9805 GB, free: 8.805 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.3246, allocations: 32 kB / 0.9805 GB, free: 8.773 MB / 0.7637 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.0005534/0.3252, allocations: 437.3 kB / 0.9809 GB, free: 8.336 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.3254, allocations: 90.88 kB / 0.981 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.3257, allocations: 100.8 kB / 0.9811 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3257, allocations: 4 kB / 0.9811 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3257, allocations: 0 / 0.9811 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3257, allocations: 0 / 0.9811 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3268, allocations: 0.9355 MB / 0.982 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3268, allocations: 0 / 0.982 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.3273, allocations: 99.84 kB / 0.9821 GB, free: 7.055 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.3274, allocations: 48.81 kB / 0.9821 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.3275, allocations: 19.98 kB / 0.9822 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.3287, allocations: 1.515 MB / 0.9836 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3287, allocations: 0 / 0.9836 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3298, allocations: 0.8312 MB / 0.9845 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.3303, allocations: 295.7 kB / 0.9847 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.3305, allocations: 23.97 kB / 0.9848 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007714/0.3313, allocations: 99.81 kB / 0.9849 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.3314, allocations: 19.98 kB / 0.9849 GB, free: 4.031 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3314, allocations: 4 kB / 0.9849 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001467/0.3329, allocations: 1.01 MB / 0.9859 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3329, allocations: 0 / 0.9859 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00122/0.3341, allocations: 467.7 kB / 0.9863 GB, free: 2.551 MB / 0.7637 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.0001716/0.3343, allocations: 120.9 kB / 0.9864 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.3362, allocations: 0.9733 MB / 0.9874 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3362, allocations: 4.062 kB / 0.9874 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.3367, allocations: 326.4 kB / 0.9877 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.338, allocations: 289.9 kB / 0.988 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.3416, allocations: 2.585 MB / 0.9905 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/0.3424, allocations: 1.14 MB / 0.9916 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.3427, allocations: 59.42 kB / 0.9917 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of SimCode: time 8.82e-07/0.3427, allocations: 3.938 kB / 0.9917 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.02355/0.3662, allocations: 17.86 MB / 1.009 GB, free: 11.18 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches