Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001554/0.001554, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001674/0.001674, allocations: 190.4 kB / 16.25 MB, free: 6.629 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7448 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 60.94 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2938, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004044/0.2979, allocations: 2.874 MB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.3014, allocations: 2.212 MB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.3017, allocations: 7.938 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.303, allocations: 390.3 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005368/0.3036, allocations: 258.9 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.3044, allocations: 319.4 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.3062, allocations: 1.724 MB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.3065, allocations: 150.3 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.3073, allocations: 0.6389 MB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/0.3081, allocations: 0.6153 MB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3082, allocations: 72 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3084, allocations: 84 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.3088, allocations: 374.9 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.3093, allocations: 0.5326 MB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3104, allocations: 1.324 MB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3104, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3104, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.3104, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 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.002684/0.3131, allocations: 1.506 MB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3132, allocations: 8.031 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.3134, allocations: 111.6 kB / 1.081 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.3148, allocations: 0.9689 MB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.3149, allocations: 37.03 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.315, allocations: 52.28 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000816/0.3158, allocations: 0.5549 MB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3158, allocations: 0 / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.3159, allocations: 12 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3159, allocations: 8 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.3164, allocations: 345.9 kB / 1.082 GB, free: 11.42 MB / 0.8419 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.006295/0.3227, allocations: 3.855 MB / 1.086 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.3245, allocations: 0.6505 MB / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.3248, allocations: 208.6 kB / 1.087 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3249, allocations: 7.938 kB / 1.087 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3249, allocations: 34.5 kB / 1.087 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 2.494e-06/0.3249, allocations: 4 kB / 1.087 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.001316/0.3262, allocations: 0.7574 MB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.3263, allocations: 59.34 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.3281, allocations: 1.436 MB / 1.089 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.3282, allocations: 37.7 kB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.3285, allocations: 420.8 kB / 1.09 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.3287, allocations: 106.5 kB / 1.09 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3289, allocations: 154.2 kB / 1.09 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3291, allocations: 334 kB / 1.09 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.3295, allocations: 289.1 kB / 1.091 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.3301, allocations: 0.5785 MB / 1.091 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3312, allocations: 0.8793 MB / 1.092 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3312, allocations: 4 kB / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002079/0.3333, allocations: 1.25 MB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.3333, allocations: 12 kB / 1.093 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.3334, allocations: 8 kB / 1.093 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.3347, allocations: 460.6 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.335, allocations: 107.8 kB / 1.094 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.3407, allocations: 4.698 MB / 1.098 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.3422, allocations: 227 kB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.3422, allocations: 32 kB / 1.099 GB, free: 10.06 MB / 0.8575 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.0006096/0.3428, allocations: 430.1 kB / 1.099 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.343, allocations: 94.78 kB / 1.099 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.3432, allocations: 100.8 kB / 1.099 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3432, allocations: 4 kB / 1.099 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3432, allocations: 4 kB / 1.099 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3432, allocations: 3.984 kB / 1.099 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.3442, allocations: 0.9355 MB / 1.1 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3442, allocations: 0 / 1.1 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.3446, allocations: 91.86 kB / 1.1 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.3448, allocations: 40.81 kB / 1.1 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.3448, allocations: 23.98 kB / 1.1 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.346, allocations: 1.527 MB / 1.102 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.346, allocations: 0 / 1.102 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.347, allocations: 0.8263 MB / 1.103 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.3475, allocations: 295.9 kB / 1.103 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3476, allocations: 19.98 kB / 1.103 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.3483, allocations: 107.7 kB / 1.103 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3483, allocations: 15.97 kB / 1.103 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3484, allocations: 12.17 kB / 1.103 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001336/0.3497, allocations: 1.002 MB / 1.104 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.51e-07/0.3497, allocations: 3.938 kB / 1.104 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001108/0.3508, allocations: 467.8 kB / 1.104 GB, free: 3.836 MB / 0.8575 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.0001541/0.351, allocations: 118.5 kB / 1.105 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.3528, allocations: 0.991 MB / 1.106 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3528, allocations: 0 / 1.106 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.3532, allocations: 322.5 kB / 1.106 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.3545, allocations: 280 kB / 1.106 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.3577, allocations: 2.55 MB / 1.109 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.3584, allocations: 1.156 MB / 1.11 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000556/0.359, allocations: 242.5 kB / 1.11 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3592, allocations: 51.44 kB / 1.11 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.41e-07/0.3592, allocations: 0 / 1.11 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.02308/0.3823, allocations: 15.64 MB / 1.125 GB, free: 14.59 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches