Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 165.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.052/3.052, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.718e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004796/0.004823, allocations: 2.84 MB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.008851, allocations: 2.214 MB / 0.8157 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.009089, allocations: 21.56 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.01042, allocations: 386 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.01109, allocations: 301.7 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009842/0.01207, allocations: 362.2 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002236/0.01431, allocations: 1.689 MB / 0.8184 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.01452, allocations: 74.59 kB / 0.8184 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.01577, allocations: 0.7766 MB / 0.8192 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008986/0.01667, allocations: 495.4 kB / 0.8197 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.01681, allocations: 65.59 kB / 0.8197 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.01701, allocations: 67.94 kB / 0.8198 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.01761, allocations: 466.9 kB / 0.8202 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.01816, allocations: 367.1 kB / 0.8206 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.01976, allocations: 1.298 MB / 0.8219 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.01977, allocations: 4 kB / 0.8219 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.243e-06/0.01977, allocations: 0.9375 kB / 0.8219 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.01978, allocations: 0 / 0.8219 GB, free: 6.781 MB / 0.7761 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.003432/0.02321, allocations: 1.631 MB / 0.8235 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.02325, allocations: 8.031 kB / 0.8235 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.02353, allocations: 144.2 kB / 0.8236 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.02546, allocations: 0.8707 MB / 0.8244 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.02551, allocations: 33.62 kB / 0.8245 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.02561, allocations: 52.36 kB / 0.8245 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.02633, allocations: 401.9 kB / 0.8249 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.02635, allocations: 4.125 kB / 0.8249 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.02639, allocations: 19.94 kB / 0.8249 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.0264, allocations: 8 kB / 0.8249 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.02678, allocations: 143.6 kB / 0.8251 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.03128, allocations: 2.962 MB / 0.828 GB, free: 324 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.03297, allocations: 447.2 kB / 0.8284 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.03319, allocations: 83.62 kB / 0.8285 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.03321, allocations: 4.875 kB / 0.8285 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.03326, allocations: 41.39 kB / 0.8285 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=26): time 2.354e-06/0.03326, allocations: 0.5938 kB / 0.8285 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.001471/0.03473, allocations: 376.7 kB / 0.8289 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.03478, allocations: 55.34 kB / 0.8289 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.03717, allocations: 1.489 MB / 0.8304 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.03722, allocations: 37.7 kB / 0.8304 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006538/0.03787, allocations: 0.5546 MB / 0.831 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.0381, allocations: 123.1 kB / 0.8311 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.03841, allocations: 203.9 kB / 0.8313 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000343/0.03875, allocations: 0.5316 MB / 0.8318 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.03899, allocations: 81.27 kB / 0.8319 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.03971, allocations: 0.5485 MB / 0.8324 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.04074, allocations: 0.7023 MB / 0.8331 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.04075, allocations: 0 / 0.8331 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001763/0.04251, allocations: 0.7343 MB / 0.8338 GB, free: 9.832 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.04254, allocations: 8 kB / 0.8338 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.04256, allocations: 12 kB / 0.8338 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.04518, allocations: 0.5013 MB / 0.8343 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.04554, allocations: 111.8 kB / 0.8344 GB, free: 9.199 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/0.05103, allocations: 3.154 MB / 0.8375 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.05246, allocations: 219.2 kB / 0.8377 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.05253, allocations: 32 kB / 0.8378 GB, free: 5.68 MB / 0.7917 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.0005048/0.05304, allocations: 316.2 kB / 0.8381 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.05327, allocations: 107.4 kB / 0.8382 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.05346, allocations: 88.8 kB / 0.8382 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.05347, allocations: 4 kB / 0.8382 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.05347, allocations: 0 / 0.8382 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.05348, allocations: 0 / 0.8382 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.05475, allocations: 0.7789 MB / 0.839 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.05475, allocations: 0 / 0.839 GB, free: 4.352 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.05522, allocations: 95.84 kB / 0.8391 GB, free: 4.258 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.05551, allocations: 51.58 kB / 0.8391 GB, free: 4.203 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.05555, allocations: 15.98 kB / 0.8392 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.05725, allocations: 1.779 MB / 0.8409 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.05725, allocations: 7.938 kB / 0.8409 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.05827, allocations: 0.527 MB / 0.8414 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/0.05891, allocations: 195.2 kB / 0.8416 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.05903, allocations: 19.98 kB / 0.8416 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.05976, allocations: 99.81 kB / 0.8417 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.05984, allocations: 19.84 kB / 0.8417 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.05986, allocations: 8 kB / 0.8417 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001857/0.06172, allocations: 0.9233 MB / 0.8426 GB, free: 464 kB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.06172, allocations: 0 / 0.8426 GB, free: 464 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001516/0.06324, allocations: 463.8 kB / 0.8431 GB, free: 0 / 0.7917 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.0002373/0.06347, allocations: 114.3 kB / 0.8432 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.06529, allocations: 0.738 MB / 0.8439 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.06529, allocations: 0 / 0.8439 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.06571, allocations: 283.2 kB / 0.8442 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.06703, allocations: 271.7 kB / 0.8445 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.07024, allocations: 1.793 MB / 0.8462 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.07091, allocations: 0.4903 MB / 0.8467 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005708/0.07148, allocations: 206.4 kB / 0.8469 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.07169, allocations: 52.5 kB / 0.8469 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of SimCode: time 1.383e-06/0.0717, allocations: 0 / 0.8469 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.03059/0.1023, allocations: 16.49 MB / 0.863 GB, free: 11.82 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.565890323952772]