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.001297/0.001297, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001445/0.001445, allocations: 218 kB / 22.99 MB, free: 4.914 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.4893 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 70.59 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3731, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.004982/0.3781, allocations: 2.673 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.382, allocations: 2.076 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004692/0.3825, allocations: 19.81 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.384, allocations: 386.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.3848, allocations: 290.6 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.386, allocations: 366.8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.3884, allocations: 1.724 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.3887, allocations: 70.48 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.3898, allocations: 0.6118 MB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.3909, allocations: 0.5256 MB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.3911, allocations: 67.94 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.3914, allocations: 64 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006509/0.3921, allocations: 450.7 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009862/0.3931, allocations: 438 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.3948, allocations: 1.339 MB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3948, allocations: 4 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3948, allocations: 0 / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.733e-05/0.3949, allocations: 0 / 1.337 GB, free: 6.777 MB / 1.029 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.003792/0.3987, allocations: 1.461 MB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3987, allocations: 12.03 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.399, allocations: 112.2 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.4007, allocations: 0.951 MB / 1.34 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.4008, allocations: 37.03 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.4009, allocations: 48.38 kB / 1.34 GB, free: 4.082 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.4017, allocations: 0.5473 MB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4017, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.4018, allocations: 19.94 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4018, allocations: 12 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.4023, allocations: 342.2 kB / 1.341 GB, free: 3.129 MB / 1.029 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.005892/0.4082, allocations: 2.793 MB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.4099, allocations: 0.6386 MB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4102, allocations: 188.7 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.4102, allocations: 4 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4103, allocations: 34.56 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of pre-optimization done (n=26): time 2.284e-06/0.4103, allocations: 4 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=26): time 0.001397/0.4117, allocations: 0.6874 MB / 1.345 GB, free: 14.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.4117, allocations: 55.41 kB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.4137, allocations: 1.412 MB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.4138, allocations: 41.7 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.4141, allocations: 417.2 kB / 1.347 GB, free: 12.72 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.4143, allocations: 107.1 kB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.4145, allocations: 158.3 kB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4147, allocations: 338 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/0.4151, allocations: 285.1 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.4158, allocations: 0.5901 MB / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.417, allocations: 0.8782 MB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.417, allocations: 4 kB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002167/0.4191, allocations: 1.239 MB / 1.35 GB, free: 8.828 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4192, allocations: 18.06 kB / 1.35 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.4192, allocations: 8 kB / 1.35 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.4205, allocations: 452.3 kB / 1.351 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.4208, allocations: 115.8 kB / 1.351 GB, free: 8.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.4268, allocations: 4.307 MB / 1.355 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.4282, allocations: 219.2 kB / 1.355 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.4282, allocations: 36 kB / 1.355 GB, free: 3.586 MB / 1.045 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.0006081/0.4288, allocations: 429.7 kB / 1.356 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.429, allocations: 99.33 kB / 1.356 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.4292, allocations: 104.8 kB / 1.356 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4292, allocations: 4 kB / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4292, allocations: 0 / 1.356 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.4292, allocations: 4.062 kB / 1.356 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.43, allocations: 0.6461 MB / 1.356 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.43, allocations: 4 kB / 1.356 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4305, allocations: 91.86 kB / 1.356 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.4306, allocations: 44.75 kB / 1.357 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.4307, allocations: 19.98 kB / 1.357 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.4319, allocations: 1.393 MB / 1.358 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4319, allocations: 0 / 1.358 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.4331, allocations: 0.8264 MB / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.4337, allocations: 227.2 kB / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4338, allocations: 15.98 kB / 1.359 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.4345, allocations: 108 kB / 1.359 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.4346, allocations: 19.91 kB / 1.359 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4346, allocations: 11.98 kB / 1.359 GB, free: 15.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001619/0.4362, allocations: 0.9857 MB / 1.36 GB, free: 14.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4362, allocations: 0 / 1.36 GB, free: 14.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001295/0.4375, allocations: 459.8 kB / 1.36 GB, free: 13.95 MB / 1.061 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.0002071/0.4377, allocations: 119 kB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.4397, allocations: 0.8972 MB / 1.361 GB, free: 12.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4397, allocations: 4.062 kB / 1.361 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004456/0.4401, allocations: 314.4 kB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.4413, allocations: 277.5 kB / 1.362 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.445, allocations: 2.366 MB / 1.364 GB, free: 9.918 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.4456, allocations: 0.5372 MB / 1.365 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.4458, allocations: 51.44 kB / 1.365 GB, free: 9.309 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.4458, allocations: 0 / 1.365 GB, free: 9.309 MB / 1.061 GB Notification: Performance of Templates: time 0.028/0.4738, allocations: 18.32 MB / 1.383 GB, free: 7.059 MB / 1.076 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","/var/lib/jenkins1/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: 13.576449161861092]