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.001701/0.001701, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001894/0.001894, allocations: 165.7 kB / 22.45 MB, free: 5.375 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.667/1.667, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.908/2.908, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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 2.364e-06/2.364e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.712e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.004148/0.004185, allocations: 1.432 MB / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004523/0.008708, allocations: 2.387 MB / 0.9547 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.008776, allocations: 4 kB / 0.9547 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.01165, allocations: 0.5515 MB / 0.9552 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.01174, allocations: 15.91 kB / 0.9552 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.152e-06/0.01175, allocations: 0 / 0.9552 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.01213, allocations: 170.8 kB / 0.9554 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.01221, allocations: 20.45 kB / 0.9554 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.0124, allocations: 83.8 kB / 0.9555 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.01262, allocations: 63.83 kB / 0.9556 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.01265, allocations: 0 / 0.9556 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.01425, allocations: 407.4 kB / 0.9559 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.01436, allocations: 39.77 kB / 0.956 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.0145, allocations: 59.81 kB / 0.956 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009899/0.01549, allocations: 454.1 kB / 0.9565 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.0155, allocations: 3.938 kB / 0.9565 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.724e-06/0.0155, allocations: 0 / 0.9565 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.01551, allocations: 0 / 0.9565 GB, free: 5.902 MB / 0.8575 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.0009224/0.01644, allocations: 492.8 kB / 0.9569 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.01648, allocations: 12.03 kB / 0.957 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.01666, allocations: 104 kB / 0.9571 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.01697, allocations: 247.8 kB / 0.9573 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.01707, allocations: 150.9 kB / 0.9574 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.01717, allocations: 158.9 kB / 0.9576 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.01726, allocations: 101.5 kB / 0.9577 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.0173, allocations: 79.47 kB / 0.9578 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.01739, allocations: 150.9 kB / 0.9579 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.662e-05/0.01748, allocations: 150.9 kB / 0.958 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.01758, allocations: 154.5 kB / 0.9582 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.01805, allocations: 497.2 kB / 0.9587 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.01819, allocations: 177.1 kB / 0.9588 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.01825, allocations: 80.14 kB / 0.9589 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/0.0183, allocations: 75.28 kB / 0.959 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.409e-05/0.01837, allocations: 109.8 kB / 0.9591 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.01837, allocations: 0 / 0.9591 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.000209/0.01858, allocations: 53.5 kB / 0.9591 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.01867, allocations: 130.7 kB / 0.9593 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.01926, allocations: 433.3 kB / 0.9597 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01928, allocations: 29.7 kB / 0.9597 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.0194, allocations: 136.6 kB / 0.9598 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.0194, allocations: 4 kB / 0.9598 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.01951, allocations: 89.66 kB / 0.9599 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.01969, allocations: 338.8 kB / 0.9602 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.01982, allocations: 100.6 kB / 0.9603 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.02005, allocations: 165.9 kB / 0.9605 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.0205, allocations: 309.6 kB / 0.9608 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.0205, allocations: 0 / 0.9608 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005913/0.02109, allocations: 333 kB / 0.9611 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.02111, allocations: 7.938 kB / 0.9611 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.02112, allocations: 4 kB / 0.9611 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.02114, allocations: 224 / 0.9611 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-06/0.02115, allocations: 11.98 kB / 0.9611 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.02115, allocations: 0 / 0.9611 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.02132, allocations: 51.45 kB / 0.9612 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.02133, allocations: 4 kB / 0.9612 GB, free: 0.8398 MB / 0.8575 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.0003458/0.02167, allocations: 245 kB / 0.9614 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.02179, allocations: 124.7 kB / 0.9615 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.697e-05/0.02187, allocations: 122.9 kB / 0.9617 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-05/0.02196, allocations: 184.2 kB / 0.9618 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001232/0.02209, allocations: 176.3 kB / 0.962 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/0.02219, allocations: 184.3 kB / 0.9622 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.02258, allocations: 440.8 kB / 0.9626 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.198e-05/0.02263, allocations: 101 kB / 0.9627 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.0227, allocations: 104.9 kB / 0.9628 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.02281, allocations: 176.3 kB / 0.963 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/0.0229, allocations: 184.3 kB / 0.9631 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.36e-05/0.023, allocations: 184.2 kB / 0.9633 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-05/0.02309, allocations: 184.3 kB / 0.9635 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.02332, allocations: 323.5 kB / 0.9638 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.02343, allocations: 124.8 kB / 0.9639 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.02356, allocations: 184.2 kB / 0.9641 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.02373, allocations: 109 kB / 0.9642 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.02384, allocations: 180.2 kB / 0.9644 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.02389, allocations: 109 kB / 0.9645 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003203/0.02421, allocations: 271.1 kB / 0.9647 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02421, allocations: 3.938 kB / 0.9647 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004882/0.0247, allocations: 87.86 kB / 0.9648 GB, free: 12.93 MB / 0.8731 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.0005159/0.02522, allocations: 310.2 kB / 0.9651 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.02548, allocations: 119.8 kB / 0.9652 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02548, allocations: 448 / 0.9652 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.02549, allocations: 8 kB / 0.9652 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.02603, allocations: 467.8 kB / 0.9657 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.02693, allocations: 0.4912 MB / 0.9662 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.02716, allocations: 168.1 kB / 0.9663 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.02717, allocations: 0 / 0.9663 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.02721, allocations: 16.44 kB / 0.9663 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.02721, allocations: 0 / 0.9663 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.009195/0.0364, allocations: 3.055 MB / 0.9693 GB, free: 8.289 MB / 0.8731 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: 9.307758491486311]