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.007137/0.007138, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001604/0.001604, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.489/2.489, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 62.81 kB / 0.9508 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2866, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003964/0.2906, allocations: 2.834 MB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.2935, allocations: 2.216 MB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.2938, allocations: 15.88 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.2949, allocations: 406 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.2954, allocations: 278.7 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.2962, allocations: 343.2 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.298, allocations: 1.699 MB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.2983, allocations: 134.4 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.299, allocations: 0.5883 MB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.2996, allocations: 486.2 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.2997, allocations: 64 kB / 1.097 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2999, allocations: 68 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.3003, allocations: 414.9 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.3008, allocations: 0.5247 MB / 1.098 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3019, allocations: 1.332 MB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.302, allocations: 0 / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.302, allocations: 0 / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.302, allocations: 0 / 1.099 GB, free: 6.094 MB / 0.8575 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.002694/0.3047, allocations: 1.498 MB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3047, allocations: 8.031 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.3049, allocations: 111.6 kB / 1.101 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.3066, allocations: 0.9962 MB / 1.102 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.3066, allocations: 37.03 kB / 1.102 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.252e-05/0.3067, allocations: 52.28 kB / 1.102 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/0.3075, allocations: 0.5432 MB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3075, allocations: 3.938 kB / 1.102 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.3075, allocations: 16 kB / 1.102 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3075, allocations: 8 kB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.3081, allocations: 349.8 kB / 1.103 GB, free: 2.328 MB / 0.8575 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.006197/0.3143, allocations: 3.831 MB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.316, allocations: 0.6661 MB / 1.107 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3163, allocations: 193.2 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3164, allocations: 7.938 kB / 1.107 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3164, allocations: 38.5 kB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/0.3164, allocations: 0 / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001335/0.3178, allocations: 0.7603 MB / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3178, allocations: 51.41 kB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.3197, allocations: 1.421 MB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.3197, allocations: 37.7 kB / 1.109 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.3201, allocations: 416.7 kB / 1.11 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.3204, allocations: 114.4 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.3206, allocations: 154.2 kB / 1.11 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3208, allocations: 338 kB / 1.11 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.3213, allocations: 285.1 kB / 1.111 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.322, allocations: 0.5824 MB / 1.111 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.3231, allocations: 0.8789 MB / 1.112 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/0.3231, allocations: 4 kB / 1.112 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002179/0.3253, allocations: 1.254 MB / 1.113 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3253, allocations: 10.03 kB / 1.113 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.3253, allocations: 15.98 kB / 1.113 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.3267, allocations: 454 kB / 1.114 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.3271, allocations: 111.8 kB / 1.114 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.3332, allocations: 4.683 MB / 1.118 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.3349, allocations: 219 kB / 1.119 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.3349, allocations: 32 kB / 1.119 GB, free: 1.023 MB / 0.8731 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.0008084/0.3358, allocations: 438.3 kB / 1.119 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.3361, allocations: 94.78 kB / 1.119 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3363, allocations: 100.8 kB / 1.119 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3363, allocations: 8.062 kB / 1.119 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3363, allocations: 0 / 1.119 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3363, allocations: 0 / 1.119 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.3375, allocations: 0.9238 MB / 1.12 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3375, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.338, allocations: 95.84 kB / 1.12 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.3382, allocations: 44.81 kB / 1.12 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.3382, allocations: 23.98 kB / 1.12 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.3396, allocations: 1.515 MB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3396, allocations: 0 / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3408, allocations: 0.8342 MB / 1.123 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.3414, allocations: 291.8 kB / 1.123 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.3416, allocations: 19.98 kB / 1.123 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.3423, allocations: 99.88 kB / 1.123 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.3423, allocations: 15.98 kB / 1.123 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3424, allocations: 7.938 kB / 1.123 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001367/0.3437, allocations: 0.9978 MB / 1.124 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3437, allocations: 0 / 1.124 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001211/0.345, allocations: 459.8 kB / 1.124 GB, free: 10.83 MB / 0.8887 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.0001695/0.3451, allocations: 120.3 kB / 1.125 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.3471, allocations: 0.9161 MB / 1.125 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3471, allocations: 0 / 1.125 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.3475, allocations: 330.5 kB / 1.126 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.3489, allocations: 283.4 kB / 1.126 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.3526, allocations: 2.284 MB / 1.128 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/0.3534, allocations: 1.152 MB / 1.129 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005931/0.354, allocations: 270.5 kB / 1.13 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3542, allocations: 51.44 kB / 1.13 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of SimCode: time 7.82e-07/0.3542, allocations: 0 / 1.13 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of Templates: time 0.02442/0.3787, allocations: 15.74 MB / 1.145 GB, free: 5.812 MB / 0.9044 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