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.00643/0.00643, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.0015/0.0015, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.402/2.402, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66.39 kB / 0.9508 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2804, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003716/0.2841, allocations: 2.838 MB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.2871, allocations: 2.213 MB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.2874, allocations: 11.88 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.2885, allocations: 414 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.289, allocations: 274.7 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007814/0.2898, allocations: 335.2 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.2916, allocations: 1.703 MB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.2919, allocations: 150.3 kB / 1.096 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.2927, allocations: 0.6 MB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.2934, allocations: 482.2 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.2935, allocations: 64 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.2937, allocations: 68 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.2941, allocations: 414.8 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.2946, allocations: 0.5248 MB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.2958, allocations: 1.332 MB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2958, allocations: 0 / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2958, allocations: 0 / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.2958, allocations: 4 kB / 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.002536/0.2984, allocations: 1.494 MB / 1.1 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2984, allocations: 16.03 kB / 1.1 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.2986, allocations: 107.6 kB / 1.101 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3, allocations: 0.9923 MB / 1.102 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.3001, allocations: 33.03 kB / 1.102 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/0.3002, allocations: 56.28 kB / 1.102 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007469/0.3009, allocations: 0.5509 MB / 1.102 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.301, allocations: 0 / 1.102 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.301, allocations: 12 kB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.301, allocations: 8 kB / 1.102 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.3015, allocations: 349.8 kB / 1.103 GB, free: 2.332 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.006217/0.3078, allocations: 3.835 MB / 1.106 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.3095, allocations: 0.6557 MB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.3098, allocations: 205.1 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3098, allocations: 3.938 kB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.3099, allocations: 42.56 kB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.3099, allocations: 0 / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001483/0.3114, allocations: 0.7564 MB / 1.108 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3115, allocations: 55.41 kB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.3134, allocations: 1.421 MB / 1.109 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.3135, allocations: 33.7 kB / 1.109 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.3139, allocations: 424.7 kB / 1.11 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.3141, allocations: 110.5 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3143, allocations: 154.2 kB / 1.11 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3144, allocations: 338 kB / 1.11 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.3148, allocations: 285.1 kB / 1.111 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/0.3154, allocations: 0.5785 MB / 1.111 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.3164, allocations: 0.875 MB / 1.112 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3164, allocations: 4 kB / 1.112 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002003/0.3184, allocations: 1.254 MB / 1.113 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3185, allocations: 11.98 kB / 1.113 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3185, allocations: 15.94 kB / 1.113 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.3198, allocations: 457.7 kB / 1.114 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3201, allocations: 107.8 kB / 1.114 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.3263, allocations: 4.687 MB / 1.118 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3276, allocations: 219 kB / 1.119 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.3277, 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.0005509/0.3282, allocations: 430.4 kB / 1.119 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3284, allocations: 90.84 kB / 1.119 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.3286, allocations: 108.8 kB / 1.119 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3286, allocations: 0 / 1.119 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3286, allocations: 4 kB / 1.119 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3286, allocations: 3.984 kB / 1.119 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3296, allocations: 0.9199 MB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3296, allocations: 0 / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.3301, allocations: 95.84 kB / 1.12 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001539/0.3302, allocations: 44.83 kB / 1.12 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.3303, allocations: 15.98 kB / 1.12 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.3315, allocations: 1.531 MB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3315, allocations: 8.016 kB / 1.122 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3325, allocations: 0.8186 MB / 1.123 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.3329, allocations: 295.9 kB / 1.123 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3331, allocations: 19.98 kB / 1.123 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.3337, allocations: 99.81 kB / 1.123 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.3338, allocations: 15.97 kB / 1.123 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3338, allocations: 11.94 kB / 1.123 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001301/0.3351, allocations: 0.9939 MB / 1.124 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3351, allocations: 0 / 1.124 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001137/0.3363, allocations: 459.8 kB / 1.124 GB, free: 10.84 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.0001642/0.3365, allocations: 120.9 kB / 1.125 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.3382, allocations: 0.9154 MB / 1.125 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3382, allocations: 1.938 kB / 1.125 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.3386, allocations: 330.3 kB / 1.126 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3398, allocations: 287.1 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.003049/0.3429, allocations: 2.279 MB / 1.128 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.3436, allocations: 1.156 MB / 1.129 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005246/0.3442, allocations: 262.5 kB / 1.13 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3443, allocations: 51.44 kB / 1.13 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of SimCode: time 6.42e-07/0.3443, allocations: 0 / 1.13 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of Templates: time 0.02515/0.3695, allocations: 16 MB / 1.145 GB, free: 5.562 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