Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001129/0.001129, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001909/0.003038, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001266/0.001266, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001747/0.003013, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9746/0.9746, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.379/2.379, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2404/2.619, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_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.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.651e-05, allocations: 10.25 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002224/0.002251, allocations: 1.497 MB / 0.8204 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.003802, allocations: 1.954 MB / 0.8223 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.003829, allocations: 0 / 0.8223 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.00449, allocations: 365.6 kB / 0.8226 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.004527, allocations: 23.84 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.00453, allocations: 0 / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.004712, allocations: 139 kB / 0.8228 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.00476, allocations: 18.25 kB / 0.8228 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.004848, allocations: 63.88 kB / 0.8229 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.004942, allocations: 59.83 kB / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.004956, allocations: 0 / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.005239, allocations: 179.9 kB / 0.8231 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.005283, allocations: 35.86 kB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.005323, allocations: 39.88 kB / 0.8232 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.005605, allocations: 282.8 kB / 0.8234 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.005613, allocations: 0 / 0.8234 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.412e-06/0.005615, allocations: 0 / 0.8234 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.005625, allocations: 0 / 0.8234 GB, free: 13.85 MB / 0.8073 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.0004953/0.00612, allocations: 0.4967 MB / 0.8239 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.006152, allocations: 8.031 kB / 0.8239 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.006235, allocations: 88.2 kB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.006367, allocations: 236.3 kB / 0.8242 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.006405, allocations: 150.9 kB / 0.8244 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.006445, allocations: 154.9 kB / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.97e-05/0.006485, allocations: 101.5 kB / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.006503, allocations: 75.47 kB / 0.8247 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.006539, allocations: 162.6 kB / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.006576, allocations: 162.5 kB / 0.825 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.006609, allocations: 154.6 kB / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.006748, allocations: 373.1 kB / 0.8255 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.006805, allocations: 177.1 kB / 0.8257 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.006823, allocations: 80.14 kB / 0.8258 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.006839, allocations: 75.28 kB / 0.8258 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.006869, allocations: 105.8 kB / 0.8259 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.00687, allocations: 0 / 0.8259 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 9.765e-05/0.006967, allocations: 45.62 kB / 0.826 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.007002, allocations: 126.7 kB / 0.8261 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.00715, allocations: 272.7 kB / 0.8263 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.007159, allocations: 33.7 kB / 0.8264 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.007194, allocations: 108.5 kB / 0.8265 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.007196, allocations: 0 / 0.8265 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.007236, allocations: 57.64 kB / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.007312, allocations: 330.8 kB / 0.8269 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.007352, allocations: 34.81 kB / 0.8269 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.007399, allocations: 81.69 kB / 0.827 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.007498, allocations: 149.7 kB / 0.8271 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.0075, allocations: 0 / 0.8271 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002164/0.007717, allocations: 185.4 kB / 0.8273 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.007729, allocations: 9.656 kB / 0.8273 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.007737, allocations: 4 kB / 0.8273 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.007746, allocations: 0 / 0.8273 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/0.007749, allocations: 4 kB / 0.8273 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.007752, allocations: 0 / 0.8273 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.007818, allocations: 39.61 kB / 0.8273 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.007825, allocations: 4 kB / 0.8273 GB, free: 9.598 MB / 0.8073 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 8.443e-05/0.007909, allocations: 198.6 kB / 0.8275 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.007946, allocations: 112.9 kB / 0.8276 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.007981, allocations: 117.8 kB / 0.8278 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.00802, allocations: 184.2 kB / 0.8279 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.682e-05/0.008057, allocations: 180.2 kB / 0.8281 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.931e-05/0.008096, allocations: 184.2 kB / 0.8283 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.008252, allocations: 341.3 kB / 0.8286 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.008278, allocations: 112.9 kB / 0.8287 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.008302, allocations: 104.9 kB / 0.8288 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.00834, allocations: 112.9 kB / 0.8289 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-05/0.008378, allocations: 180.3 kB / 0.8291 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.008427, allocations: 180.2 kB / 0.8293 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.721e-05/0.008464, allocations: 184.2 kB / 0.8294 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.722e-05/0.008501, allocations: 188.2 kB / 0.8296 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/0.008597, allocations: 315.7 kB / 0.8299 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.008648, allocations: 180.3 kB / 0.8301 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.008713, allocations: 105.3 kB / 0.8302 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.008758, allocations: 184.2 kB / 0.8304 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.008783, allocations: 105 kB / 0.8305 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.957e-05/0.008842, allocations: 82.77 kB / 0.8305 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008842, allocations: 4 kB / 0.8305 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001768/0.009019, allocations: 63.88 kB / 0.8306 GB, free: 6.07 MB / 0.8073 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.000227/0.009246, allocations: 271.6 kB / 0.8309 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.009328, allocations: 60.64 kB / 0.8309 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.009332, allocations: 4 kB / 0.8309 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.009335, allocations: 0 / 0.8309 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.009555, allocations: 488.2 kB / 0.8314 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.01146, allocations: 360.4 kB / 0.8317 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.243e-05/0.0115, allocations: 79.31 kB / 0.8318 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.01151, allocations: 0 / 0.8318 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.01156, allocations: 55.38 kB / 0.8319 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.01156, allocations: 0 / 0.8319 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of Templates: time 0.004491/0.01606, allocations: 2.817 MB / 0.8346 GB, free: 1.91 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226138452999294]