Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.00157/0.00157, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00209/0.00209, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.218/3.218, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 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_low,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_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_low") [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.002151/0.002151, allocations: 66.7 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00265/0.3402, allocations: 1.413 MB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3427, allocations: 1.76 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.3427, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.3438, allocations: 350 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.027e-05/0.3438, allocations: 15.91 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.3438, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.344, allocations: 135.1 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.3441, allocations: 5.688 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.3442, allocations: 39.86 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3443, allocations: 63.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3443, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.3447, allocations: 175.9 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.3448, allocations: 31.84 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.3448, allocations: 71.66 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.3453, allocations: 294.7 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3453, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3453, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.3453, allocations: 0 / 1.331 GB, free: 13.48 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.0007207/0.346, allocations: 413.3 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3461, allocations: 11.97 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.3462, allocations: 100.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.3465, allocations: 241 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.3465, allocations: 154.9 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.748e-05/0.3466, allocations: 158.9 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.3467, allocations: 109.1 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.3467, allocations: 75.28 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.789e-05/0.3468, allocations: 150.6 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/0.3469, allocations: 158.6 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.3469, allocations: 150.6 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3473, allocations: 469.3 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.3474, allocations: 165.1 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.3474, allocations: 84.14 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3475, allocations: 75.28 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.3475, allocations: 109.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3475, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001843/0.3477, allocations: 57.47 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.3478, allocations: 126.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.3481, allocations: 325.6 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3482, allocations: 33.64 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.3482, allocations: 116.5 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3482, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.3483, allocations: 57.69 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3485, allocations: 334.8 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.3486, allocations: 63.95 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3487, allocations: 118 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.349, allocations: 205.8 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.349, allocations: 4 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004374/0.3494, allocations: 237.3 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3494, allocations: 7.938 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3494, allocations: 4 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3494, allocations: 0 / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.3494, allocations: 7.938 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3495, allocations: 0 / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3496, allocations: 31.73 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3496, allocations: 8.219 kB / 1.335 GB, free: 8.977 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.0002245/0.3498, allocations: 223.7 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.3499, allocations: 124.8 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.35, allocations: 113.8 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/0.35, allocations: 176.3 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.05e-05/0.3501, allocations: 188.2 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.946e-05/0.3502, allocations: 176.3 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.3505, allocations: 404.7 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.982e-05/0.3506, allocations: 105 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.3506, allocations: 109 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-05/0.3507, allocations: 184.2 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/0.3508, allocations: 184.2 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.224e-05/0.3509, allocations: 180.2 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/0.351, allocations: 180.3 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3511, allocations: 323.6 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.3512, allocations: 116.9 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3513, allocations: 192.1 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3515, allocations: 101 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.3516, allocations: 184.2 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.3516, allocations: 101.3 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002238/0.3518, allocations: 225.1 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3518, allocations: 0 / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003612/0.3522, allocations: 63.88 kB / 1.338 GB, free: 5.211 MB / 1.029 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.0003512/0.3526, allocations: 270.4 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.3527, allocations: 83.89 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3527, allocations: 0 / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.3527, allocations: 4 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3532, allocations: 464.1 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.3538, allocations: 423.2 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3539, allocations: 135.1 kB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.3539, allocations: 7.438 kB / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3539, allocations: 0 / 1.339 GB, free: 3.789 MB / 1.029 GB Notification: Performance of Templates: time 0.004494/0.3584, allocations: 2.427 MB / 1.342 GB, free: 1.363 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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: 11.405780625995249]