Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001429/0.001429, allocations: 99.78 kB / 19.71 MB, free: 2.105 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.001566/0.001566, allocations: 216 kB / 23.01 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.374/3.374, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [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.002094/0.002094, allocations: 67.44 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4347, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003488/0.4382, allocations: 1.432 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.4418, allocations: 2.398 MB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.4418, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.4435, allocations: 0.5465 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.654e-05/0.4436, allocations: 19.91 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.771e-06/0.4436, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.4439, allocations: 162.9 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.444, allocations: 20.47 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.4441, allocations: 63.72 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.4443, allocations: 79.58 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.4443, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.4453, allocations: 415.5 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.4454, allocations: 31.84 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.4455, allocations: 87.48 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.4462, allocations: 434.1 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4462, allocations: 3.938 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4462, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.4462, allocations: 0 / 1.333 GB, free: 11.32 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00106/0.4473, allocations: 488.8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4473, allocations: 8.031 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.4475, allocations: 104 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.4478, allocations: 248.5 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-05/0.4479, allocations: 162.9 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.448, allocations: 150.9 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4481, allocations: 105.5 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.4482, allocations: 75.47 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/0.4482, allocations: 154.5 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.762e-05/0.4483, allocations: 150.6 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.4484, allocations: 158.6 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.4488, allocations: 497.2 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.449, allocations: 169.1 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.449, allocations: 84.08 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.4491, allocations: 75.28 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/0.4491, allocations: 125.8 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4491, allocations: 0 / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001946/0.4493, allocations: 61.39 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4494, allocations: 51.41 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.4499, allocations: 429.3 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4499, allocations: 29.7 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.45, allocations: 132.6 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.45, allocations: 0 / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4502, allocations: 97.66 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4503, allocations: 334.8 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.4505, allocations: 100.6 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.4507, allocations: 165.9 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.451, allocations: 309.5 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.451, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005514/0.4516, allocations: 321.1 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4516, allocations: 4 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4516, allocations: 8.219 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4516, allocations: 3.938 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-06/0.4516, allocations: 7.938 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.4516, allocations: 7.922 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4518, allocations: 51.52 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4518, allocations: 4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003398/0.4521, allocations: 237.6 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4523, allocations: 128.7 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.4523, allocations: 114.9 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.422e-05/0.4524, allocations: 184.2 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/0.4525, allocations: 108.9 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.4526, allocations: 124.8 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.4527, allocations: 184.2 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4529, allocations: 101 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.4529, allocations: 180.3 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001334/0.4531, allocations: 259.5 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002483/0.4533, allocations: 411 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.257e-05/0.4534, allocations: 109 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003173/0.4537, allocations: 283.1 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.4537, allocations: 0 / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009551/0.4547, allocations: 335.1 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of SimCode: time 0.001225/0.4559, allocations: 1.188 MB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of Templates: time 0.008251/0.4641, allocations: 3.35 MB / 1.344 GB, free: 14.94 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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: 9.837947656000324]