Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001853/0.001853, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001979/0.001979, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_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_10_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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 1.057 GB, free: 2.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 160.7 MB / 1.214 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002843/0.3759, allocations: 1.395 MB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.3787, allocations: 1.943 MB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.3787, allocations: 0 / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3798, allocations: 385.9 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.3798, allocations: 19.84 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.613e-06/0.3798, allocations: 4 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3801, allocations: 123.2 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.325e-05/0.3801, allocations: 13.5 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.3802, allocations: 47.78 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3804, allocations: 63.7 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3804, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.3809, allocations: 191.9 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.381, allocations: 27.91 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.3811, allocations: 71.55 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.3816, allocations: 290.7 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3816, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3816, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3816, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 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.0007629/0.3824, allocations: 0.4944 MB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3824, allocations: 19.98 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3826, allocations: 96.06 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3829, allocations: 299.3 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.3829, allocations: 154.9 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.383, allocations: 150.9 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.3831, allocations: 109.1 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.3831, allocations: 83.22 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.3832, allocations: 154.6 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.102e-05/0.3833, allocations: 150.6 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.3834, allocations: 150.6 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.3838, allocations: 0.5056 MB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.3839, allocations: 169.1 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.3839, allocations: 84.08 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.384, allocations: 75.28 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.384, allocations: 113.8 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.384, allocations: 0 / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001797/0.3842, allocations: 57.48 kB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.3843, allocations: 130.7 kB / 1.221 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3847, allocations: 326.3 kB / 1.222 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3847, allocations: 25.7 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.3848, allocations: 116.5 kB / 1.222 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.3848, allocations: 3.984 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.3849, allocations: 61.69 kB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3851, allocations: 330.8 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.3852, allocations: 63.95 kB / 1.222 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.3854, allocations: 117.8 kB / 1.222 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.3857, allocations: 209.9 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3857, allocations: 7.938 kB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004734/0.3862, allocations: 237.3 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3862, allocations: 8 kB / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3862, allocations: 0 / 1.223 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3862, allocations: 4 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-06/0.3862, allocations: 3.984 kB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3862, allocations: 8 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3863, allocations: 23.73 kB / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3863, allocations: 4 kB / 1.223 GB, free: 7.641 MB / 0.9669 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.0002548/0.3866, allocations: 233.2 kB / 1.223 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.3867, allocations: 120.8 kB / 1.223 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.3868, allocations: 121.6 kB / 1.223 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.753e-05/0.3869, allocations: 180.2 kB / 1.223 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.357e-05/0.3869, allocations: 180.3 kB / 1.224 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.882e-05/0.387, allocations: 184.2 kB / 1.224 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3874, allocations: 449.2 kB / 1.224 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-05/0.3874, allocations: 108.9 kB / 1.224 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.3875, allocations: 108.9 kB / 1.224 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.622e-05/0.3875, allocations: 176.3 kB / 1.225 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.3876, allocations: 184.2 kB / 1.225 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-05/0.3877, allocations: 180.3 kB / 1.225 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.697e-05/0.3878, allocations: 188.2 kB / 1.225 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.388, allocations: 312 kB / 1.225 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3881, allocations: 205.8 kB / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.3883, allocations: 188.3 kB / 1.226 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3884, allocations: 112.9 kB / 1.226 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.3885, allocations: 176.3 kB / 1.226 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.3886, allocations: 105 kB / 1.226 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002458/0.3888, allocations: 213.9 kB / 1.226 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3888, allocations: 0 / 1.226 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003991/0.3892, allocations: 75.8 kB / 1.226 GB, free: 3.695 MB / 0.9669 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.0004683/0.3897, allocations: 267.8 kB / 1.227 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3899, allocations: 80.2 kB / 1.227 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3899, allocations: 4.125 kB / 1.227 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3899, allocations: 0 / 1.227 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3904, allocations: 464.2 kB / 1.227 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.391, allocations: 425.3 kB / 1.228 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.3914, allocations: 0.7431 MB / 1.228 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.3915, allocations: 7.438 kB / 1.228 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3915, allocations: 4 kB / 1.228 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.004996/0.3965, allocations: 2.354 MB / 1.231 GB, free: 15.31 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.064555916003883]