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.0009427/0.0009427, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009506/0.0009506, allocations: 173 kB / 23.36 MB, free: 1.133 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.9673/0.9673, allocations: 177.1 MB / 203.8 MB, free: 5.473 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 2.28/2.28, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.[0-9,]+..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.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.137e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.005304/0.005326, allocations: 1.473 MB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.01121, allocations: 2.638 MB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.01124, allocations: 4 kB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.01259, allocations: 0.5746 MB / 0.8431 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.01264, allocations: 27.78 kB / 0.8432 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.01265, allocations: 0 / 0.8432 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.01289, allocations: 166.8 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.01294, allocations: 22.47 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.01305, allocations: 87.73 kB / 0.8434 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.01316, allocations: 59.83 kB / 0.8435 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.01318, allocations: 4 kB / 0.8435 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.01474, allocations: 403.4 kB / 0.8439 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.01481, allocations: 35.83 kB / 0.8439 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.01491, allocations: 63.8 kB / 0.844 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.0155, allocations: 426.2 kB / 0.8444 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01551, allocations: 4 kB / 0.8444 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01551, allocations: 0 / 0.8444 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.01551, allocations: 0 / 0.8444 GB, free: 8.27 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.000762/0.01627, allocations: 467.3 kB / 0.8448 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.01631, allocations: 8.031 kB / 0.8448 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.0164, allocations: 88.2 kB / 0.8449 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.01655, allocations: 239.8 kB / 0.8451 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.01659, allocations: 154.9 kB / 0.8453 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.01664, allocations: 154.9 kB / 0.8454 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.828e-05/0.0167, allocations: 113.5 kB / 0.8455 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.01672, allocations: 75.47 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.01677, allocations: 150.9 kB / 0.8458 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.01681, allocations: 150.9 kB / 0.8459 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.01686, allocations: 162.4 kB / 0.8461 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.01712, allocations: 377.1 kB / 0.8464 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.01721, allocations: 173.1 kB / 0.8466 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.01724, allocations: 80.14 kB / 0.8467 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01726, allocations: 79.33 kB / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.01731, allocations: 109.8 kB / 0.8468 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 2.524e-06/0.01731, allocations: 8 kB / 0.8468 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.000106/0.01742, allocations: 37.69 kB / 0.8469 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.01747, allocations: 130.6 kB / 0.847 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01769, allocations: 347 kB / 0.8473 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.0177, allocations: 25.7 kB / 0.8474 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.01775, allocations: 128.6 kB / 0.8475 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.01775, allocations: 0 / 0.8475 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.01781, allocations: 89.56 kB / 0.8476 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.01791, allocations: 346.7 kB / 0.8479 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.01797, allocations: 51.48 kB / 0.848 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.01804, allocations: 97.88 kB / 0.848 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.01838, allocations: 213.4 kB / 0.8483 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01838, allocations: 0 / 0.8483 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002843/0.01866, allocations: 249.1 kB / 0.8485 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.01867, allocations: 4 kB / 0.8485 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01868, allocations: 4 kB / 0.8485 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01869, allocations: 0 / 0.8485 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-06/0.0187, allocations: 7.984 kB / 0.8485 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.0187, allocations: 4 kB / 0.8485 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.01878, allocations: 43.52 kB / 0.8485 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.0188, allocations: 4 kB / 0.8486 GB, free: 3.758 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 0.0001322/0.01893, allocations: 208 kB / 0.8488 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.01899, allocations: 113 kB / 0.8489 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.01903, allocations: 114.9 kB / 0.849 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/0.01908, allocations: 180.2 kB / 0.8491 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.386e-05/0.01912, allocations: 180.3 kB / 0.8493 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/0.01916, allocations: 180.2 kB / 0.8495 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.01932, allocations: 357.3 kB / 0.8498 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/0.01935, allocations: 109 kB / 0.8499 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.01938, allocations: 112.9 kB / 0.85 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.953e-05/0.01942, allocations: 180.2 kB / 0.8502 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.01946, allocations: 184.2 kB / 0.8504 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.092e-05/0.0195, allocations: 180.5 kB / 0.8506 GB, free: 1.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.203e-05/0.01955, allocations: 188.2 kB / 0.8507 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.695e-05/0.01964, allocations: 319.7 kB / 0.851 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.01969, allocations: 128.7 kB / 0.8512 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.01975, allocations: 176.3 kB / 0.8513 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.01982, allocations: 108.9 kB / 0.8514 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.01987, allocations: 180.2 kB / 0.8516 GB, free: 472 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.01989, allocations: 101 kB / 0.8517 GB, free: 364 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.554e-05/0.01997, allocations: 116.7 kB / 0.8518 GB, free: 244 kB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01997, allocations: 4 kB / 0.8518 GB, free: 240 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002201/0.02019, allocations: 83.92 kB / 0.8519 GB, free: 156 kB / 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.0002914/0.02049, allocations: 313.7 kB / 0.8522 GB, free: 15.84 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.02064, allocations: 78.05 kB / 0.8523 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.02064, allocations: 4 kB / 0.8523 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.02064, allocations: 0 / 0.8523 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.02087, allocations: 469.1 kB / 0.8527 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.0214, allocations: 456.5 kB / 0.8532 GB, free: 14.82 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.02145, allocations: 91.3 kB / 0.8532 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.829e-06/0.02146, allocations: 0 / 0.8532 GB, free: 14.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.02151, allocations: 55.38 kB / 0.8533 GB, free: 14.65 MB / 0.823 GB Notification: Performance of SimCode: time 9.92e-07/0.02151, allocations: 0 / 0.8533 GB, free: 14.65 MB / 0.823 GB Notification: Performance of Templates: time 0.005821/0.02733, allocations: 4.334 MB / 0.8575 GB, free: 10.32 MB / 0.823 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361262233927846]