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.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.0008427/0.0008427, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007982/0.0007982, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.865/0.865, allocations: 177.2 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.533e-06/1.533e-06, allocations: 0 / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.149e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001699/0.00172, allocations: 1.43 MB / 0.9531 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.003669, allocations: 2.383 MB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.003694, allocations: 0 / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.004621, allocations: 0.5545 MB / 0.956 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.004656, allocations: 15.91 kB / 0.956 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.00466, allocations: 4 kB / 0.956 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.004857, allocations: 166.8 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.004903, allocations: 20.52 kB / 0.9562 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.004984, allocations: 87.78 kB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.005086, allocations: 59.84 kB / 0.9563 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.005099, allocations: 4 kB / 0.9563 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.005622, allocations: 411.3 kB / 0.9567 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.005666, allocations: 39.78 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.005717, allocations: 51.86 kB / 0.9568 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.006117, allocations: 454.1 kB / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006119, allocations: 3.938 kB / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00612, allocations: 0 / 0.9572 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.006124, allocations: 3.938 kB / 0.9572 GB, free: 13.34 MB / 0.9167 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.0004952/0.006619, allocations: 490.5 kB / 0.9577 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.006652, allocations: 12.03 kB / 0.9577 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.006747, allocations: 104 kB / 0.9578 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.006902, allocations: 247.8 kB / 0.958 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.006942, allocations: 158.9 kB / 0.9582 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.006981, allocations: 154.9 kB / 0.9583 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.669e-05/0.007028, allocations: 105.5 kB / 0.9584 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.007048, allocations: 79.45 kB / 0.9585 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.007081, allocations: 150.9 kB / 0.9587 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.007116, allocations: 150.9 kB / 0.9588 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.007152, allocations: 154.5 kB / 0.959 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.007401, allocations: 0.4895 MB / 0.9594 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.007464, allocations: 173.1 kB / 0.9596 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.007489, allocations: 80.14 kB / 0.9597 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.007511, allocations: 79.27 kB / 0.9597 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.007544, allocations: 109.8 kB / 0.9599 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 4.81e-07/0.007544, allocations: 0 / 0.9599 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.007651, allocations: 57.5 kB / 0.9599 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.007693, allocations: 126.7 kB / 0.96 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.007987, allocations: 441.2 kB / 0.9604 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.007998, allocations: 25.7 kB / 0.9605 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.008056, allocations: 128.6 kB / 0.9606 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.008059, allocations: 4 kB / 0.9606 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.00812, allocations: 89.66 kB / 0.9607 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.008205, allocations: 338.8 kB / 0.961 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.008288, allocations: 100.6 kB / 0.9611 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.008394, allocations: 165.9 kB / 0.9613 GB, free: 9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.008597, allocations: 305.6 kB / 0.9616 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.0086, allocations: 4 kB / 0.9616 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003254/0.008925, allocations: 329 kB / 0.9619 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.008942, allocations: 10.19 kB / 0.9619 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.008949, allocations: 0 / 0.9619 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.008962, allocations: 8.219 kB / 0.9619 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.008964, allocations: 7.922 kB / 0.9619 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.008971, allocations: 4 kB / 0.9619 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.009052, allocations: 47.45 kB / 0.9619 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.00906, allocations: 4 kB / 0.9619 GB, free: 8.27 MB / 0.9167 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.0001311/0.009191, allocations: 245 kB / 0.9622 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.009235, allocations: 128.7 kB / 0.9623 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.009273, allocations: 118.9 kB / 0.9624 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/0.00931, allocations: 176.3 kB / 0.9626 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.281e-05/0.009353, allocations: 188.3 kB / 0.9628 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/0.009395, allocations: 184.2 kB / 0.9629 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.00956, allocations: 428.7 kB / 0.9634 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.009583, allocations: 105 kB / 0.9635 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.009604, allocations: 101 kB / 0.9635 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.071e-05/0.009645, allocations: 184.2 kB / 0.9637 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.009684, allocations: 180.3 kB / 0.9639 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-05/0.009719, allocations: 184.2 kB / 0.9641 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-05/0.009757, allocations: 180.3 kB / 0.9642 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.704e-05/0.009854, allocations: 327.5 kB / 0.9646 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.009899, allocations: 124.8 kB / 0.9647 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.00995, allocations: 188.2 kB / 0.9649 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.01002, allocations: 101 kB / 0.965 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01006, allocations: 184.2 kB / 0.9651 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.01008, allocations: 105 kB / 0.9652 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001649/0.01025, allocations: 275.1 kB / 0.9655 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01025, allocations: 0 / 0.9655 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002372/0.01048, allocations: 91.86 kB / 0.9656 GB, free: 4.371 MB / 0.9167 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.0002525/0.01074, allocations: 310.2 kB / 0.9659 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01087, allocations: 120.2 kB / 0.966 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01087, allocations: 4.125 kB / 0.966 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.01087, allocations: 7.875 kB / 0.966 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.01114, allocations: 465.8 kB / 0.9664 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.01158, allocations: 0.5044 MB / 0.9669 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.697e-05/0.01168, allocations: 167.1 kB / 0.9671 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.01169, allocations: 8.5 kB / 0.9671 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of SimCode: time 3.51e-07/0.01169, allocations: 0 / 0.9671 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of Templates: time 0.003469/0.01516, allocations: 3.278 MB / 0.9703 GB, free: 15.46 MB / 0.9323 GB " [Timeout remaining time 300] 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: 6.672055531293154]