Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00237/0.00237, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 249.4 MB, free: 3.273 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00288/1.17, allocations: 1.446 MB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003289/1.173, allocations: 2.708 MB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/1.173, allocations: 0.5625 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/1.175, allocations: 0.5968 MB / 1.277 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/1.175, allocations: 19.92 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/1.175, allocations: 0.875 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/1.175, allocations: 155.4 kB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/1.175, allocations: 12.27 kB / 1.277 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/1.175, allocations: 65.77 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/1.176, allocations: 82.53 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/1.176, allocations: 2.625 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/1.177, allocations: 468.1 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/1.177, allocations: 42.8 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/1.177, allocations: 94.17 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006785/1.178, allocations: 445.9 kB / 1.278 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.178, allocations: 0.9062 kB / 1.278 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/1.178, allocations: 0 / 1.278 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.178, allocations: 0 / 1.278 GB, free: 4.188 MB / 0.9981 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.0007687/1.178, allocations: 0.5516 MB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.179, allocations: 13.97 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/1.179, allocations: 103.7 kB / 1.279 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/1.179, allocations: 307.8 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.179, allocations: 151.9 kB / 1.279 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/1.179, allocations: 157.7 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/1.179, allocations: 102.4 kB / 1.279 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.179, allocations: 80.83 kB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/1.179, allocations: 154.5 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/1.179, allocations: 151.5 kB / 1.28 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/1.179, allocations: 155.4 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/1.18, allocations: 0.5303 MB / 1.28 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/1.18, allocations: 173.3 kB / 1.28 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/1.18, allocations: 80.14 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/1.18, allocations: 75.28 kB / 1.281 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.18, allocations: 107.7 kB / 1.281 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.18, allocations: 3.938 kB / 1.281 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.000249/1.18, allocations: 63.03 kB / 1.281 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/1.18, allocations: 130.7 kB / 1.281 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/1.181, allocations: 432.8 kB / 1.281 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/1.181, allocations: 26.58 kB / 1.281 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.181, allocations: 130.7 kB / 1.281 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/1.181, allocations: 0 / 1.281 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/1.181, allocations: 90.03 kB / 1.282 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.181, allocations: 344.2 kB / 1.282 GB, free: 496 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.181, allocations: 102.8 kB / 1.282 GB, free: 456 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/1.181, allocations: 165.2 kB / 1.282 GB, free: 352 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/1.182, allocations: 305.9 kB / 1.282 GB, free: 196 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.182, allocations: 4 kB / 1.282 GB, free: 192 kB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008847/1.183, allocations: 335.3 kB / 1.283 GB, free: 44 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.183, allocations: 8.625 kB / 1.283 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.183, allocations: 5.344 kB / 1.283 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.183, allocations: 3.266 kB / 1.283 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-06/1.183, allocations: 2.438 kB / 1.283 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.183, allocations: 2.344 kB / 1.283 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.183, allocations: 39.75 kB / 1.283 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/1.183, allocations: 5.281 kB / 1.283 GB, free: 8 kB / 0.9981 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.0004146/1.184, allocations: 249.5 kB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.184, allocations: 124.4 kB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.846e-05/1.184, allocations: 122.8 kB / 1.283 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/1.184, allocations: 182.5 kB / 1.283 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001108/1.184, allocations: 178.2 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001099/1.184, allocations: 191 kB / 1.284 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/1.185, allocations: 471.6 kB / 1.284 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.445e-05/1.185, allocations: 105.1 kB / 1.284 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/1.185, allocations: 109.6 kB / 1.284 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.703e-05/1.185, allocations: 176.9 kB / 1.285 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/1.185, allocations: 192.1 kB / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.733e-05/1.185, allocations: 180.9 kB / 1.285 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001062/1.185, allocations: 176.9 kB / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/1.186, allocations: 329.4 kB / 1.285 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/1.186, allocations: 204.9 kB / 1.286 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.186, allocations: 192 kB / 1.286 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/1.186, allocations: 102.3 kB / 1.286 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.186, allocations: 186.1 kB / 1.286 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/1.186, allocations: 101.5 kB / 1.286 GB, free: 12.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004987/1.187, allocations: 284.4 kB / 1.286 GB, free: 12.31 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.187, allocations: 0 / 1.286 GB, free: 12.31 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007149/1.188, allocations: 89.33 kB / 1.287 GB, free: 12.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005726/1.188, allocations: 309.7 kB / 1.287 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003577/1.188, allocations: 119.9 kB / 1.287 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.188, allocations: 0 / 1.287 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/1.188, allocations: 0 / 1.287 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/1.189, allocations: 464.4 kB / 1.287 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.19, allocations: 0.5119 MB / 1.288 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/1.191, allocations: 0.7723 MB / 1.289 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.161e-05/1.191, allocations: 6.859 kB / 1.289 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/1.191, allocations: 11.03 kB / 1.289 GB, free: 10.54 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.191, allocations: 0 / 1.289 GB, free: 10.54 MB / 1.014 GB Notification: Performance of Templates: time 0.01268/1.204, allocations: 3.089 MB / 1.292 GB, free: 10.16 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.718309205956757]