Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001156/0.001156, allocations: 76.55 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.0008774/0.0008774, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.778/1.778, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.17e-05, allocations: 6.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001651/0.001672, allocations: 1.426 MB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.003514, allocations: 2.383 MB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.00354, allocations: 3.938 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009431/0.004483, allocations: 0.5476 MB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.004519, allocations: 23.84 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.004523, allocations: 0 / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.004713, allocations: 166.8 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.004758, allocations: 20.52 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.004834, allocations: 87.73 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.004934, allocations: 63.83 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.004947, allocations: 4 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.005469, allocations: 407.4 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.005514, allocations: 31.84 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.005565, allocations: 55.81 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.006076, allocations: 458.1 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006078, allocations: 0 / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.006079, allocations: 0 / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.006085, allocations: 4 kB / 1.006 GB, free: 7.34 MB / 0.9636 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.0005074/0.006593, allocations: 492.7 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.006625, allocations: 8.031 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.006723, allocations: 100.1 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.00688, allocations: 247.8 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.006918, allocations: 154.9 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.006959, allocations: 158.9 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.731e-05/0.007006, allocations: 105.5 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.007025, allocations: 75.47 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.007059, allocations: 150.9 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.00709, allocations: 150.9 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.007125, allocations: 158.4 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.007358, allocations: 497.3 kB / 1.009 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.793e-05/0.007416, allocations: 169.1 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.007436, allocations: 84.08 kB / 1.009 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.007456, allocations: 79.27 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.007488, allocations: 113.8 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.007489, allocations: 0 / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.007597, allocations: 53.52 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.007638, allocations: 130.6 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.007958, allocations: 441.2 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.00797, allocations: 29.7 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.008039, allocations: 132.6 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.008042, allocations: 0 / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.00811, allocations: 89.66 kB / 1.01 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.00821, allocations: 338.8 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.008295, allocations: 100.6 kB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.008411, allocations: 169.8 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.008635, allocations: 301.7 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.008638, allocations: 0 / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003727/0.009011, allocations: 333 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.009029, allocations: 9.562 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.009037, allocations: 224 / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.009055, allocations: 8 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.009057, allocations: 3.984 kB / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.009066, allocations: 4 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.009161, allocations: 47.45 kB / 1.011 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.009171, allocations: 4 kB / 1.011 GB, free: 2.273 MB / 0.9636 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.0001571/0.009328, allocations: 251.9 kB / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.009375, allocations: 120.8 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.009412, allocations: 122.8 kB / 1.012 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/0.009449, allocations: 180.2 kB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/0.009488, allocations: 184.4 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-05/0.009529, allocations: 188.1 kB / 1.012 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.009703, allocations: 424.8 kB / 1.013 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/0.009729, allocations: 105 kB / 1.013 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.009752, allocations: 108.9 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.826e-05/0.00979, allocations: 180.3 kB / 1.013 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.00983, allocations: 180.2 kB / 1.013 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000131/0.009961, allocations: 184.2 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-05/0.009998, allocations: 184.2 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.52e-05/0.01009, allocations: 327.5 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.01014, allocations: 132.7 kB / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.01019, allocations: 184.3 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.01027, allocations: 101 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.01031, allocations: 184.2 kB / 1.014 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.01033, allocations: 105 kB / 1.014 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001741/0.01051, allocations: 275.1 kB / 1.015 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01051, allocations: 0 / 1.015 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002458/0.01075, allocations: 91.86 kB / 1.015 GB, free: 14.36 MB / 0.9792 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.0002588/0.01101, allocations: 314.3 kB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01115, allocations: 120.2 kB / 1.015 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01115, allocations: 4.062 kB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.01115, allocations: 4 kB / 1.015 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01142, allocations: 461.2 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.01186, allocations: 0.5145 MB / 1.016 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.05e-05/0.01195, allocations: 164.2 kB / 1.016 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.01197, allocations: 12.44 kB / 1.016 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of SimCode: time 6.01e-07/0.01197, allocations: 0 / 1.016 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of Templates: time 0.0032/0.01517, allocations: 3.254 MB / 1.019 GB, free: 9.469 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.522268553264439]