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.000943/0.000943, allocations: 80.75 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.0009755/0.0009755, allocations: 181 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.9791/0.9791, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.481/2.481, 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_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.713e-06/1.713e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.927e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003195/0.003225, allocations: 1.501 MB / 0.8401 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002647/0.005872, allocations: 1.927 MB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.005906, allocations: 0 / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.00702, allocations: 365.6 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.007075, allocations: 23.83 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.007078, allocations: 0 / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.007314, allocations: 127.1 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.007366, allocations: 22.31 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.541e-05/0.007461, allocations: 63.81 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.007573, allocations: 47.89 kB / 0.8426 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.00759, allocations: 4 kB / 0.8426 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.008031, allocations: 187.8 kB / 0.8428 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.008086, allocations: 35.84 kB / 0.8428 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.008151, allocations: 43.92 kB / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.00857, allocations: 290.8 kB / 0.8431 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.008572, allocations: 4 kB / 0.8431 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008573, allocations: 0 / 0.8431 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.008578, allocations: 0 / 0.8431 GB, free: 9.547 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.0005715/0.009149, allocations: 399.8 kB / 0.8435 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.009183, allocations: 8.031 kB / 0.8435 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.009324, allocations: 88.2 kB / 0.8436 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.009491, allocations: 224.4 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.009539, allocations: 150.9 kB / 0.8439 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.009589, allocations: 158.9 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.69e-05/0.009646, allocations: 113.5 kB / 0.8442 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.009671, allocations: 75.47 kB / 0.8443 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.009716, allocations: 154.7 kB / 0.8444 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.009755, allocations: 154.6 kB / 0.8446 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.009791, allocations: 150.6 kB / 0.8447 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.009952, allocations: 365.2 kB / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.01002, allocations: 177.1 kB / 0.8452 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.01004, allocations: 80.14 kB / 0.8453 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.01006, allocations: 75.28 kB / 0.8454 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.01009, allocations: 109.8 kB / 0.8455 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.01009, allocations: 0 / 0.8455 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.000102/0.01019, allocations: 49.61 kB / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.01023, allocations: 126.7 kB / 0.8456 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.01039, allocations: 272.7 kB / 0.8459 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.0104, allocations: 25.7 kB / 0.8459 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.01044, allocations: 108.5 kB / 0.846 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.01044, allocations: 0 / 0.846 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.01049, allocations: 61.62 kB / 0.8461 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.01057, allocations: 330.8 kB / 0.8464 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.01061, allocations: 34.77 kB / 0.8464 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.01066, allocations: 73.95 kB / 0.8465 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.01078, allocations: 157.6 kB / 0.8467 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01078, allocations: 0 / 0.8467 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002306/0.01101, allocations: 181.3 kB / 0.8468 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01102, allocations: 8 kB / 0.8468 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.01103, allocations: 0 / 0.8468 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.01104, allocations: 4 kB / 0.8468 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-06/0.01104, allocations: 3.938 kB / 0.8469 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01105, allocations: 4 kB / 0.8469 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.01111, allocations: 27.67 kB / 0.8469 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.01112, allocations: 4.078 kB / 0.8469 GB, free: 5.449 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.679e-05/0.01121, allocations: 206.4 kB / 0.8471 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.01125, allocations: 109 kB / 0.8472 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.01128, allocations: 117.8 kB / 0.8473 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/0.01132, allocations: 184.3 kB / 0.8475 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.962e-05/0.01136, allocations: 180.2 kB / 0.8476 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-05/0.01141, allocations: 188.2 kB / 0.8478 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01155, allocations: 345.3 kB / 0.8482 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/0.01157, allocations: 105 kB / 0.8483 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.0116, allocations: 104.9 kB / 0.8484 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.205e-05/0.01164, allocations: 188.2 kB / 0.8485 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.01168, allocations: 180.3 kB / 0.8487 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.099e-05/0.01172, allocations: 184.2 kB / 0.8489 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-05/0.01176, allocations: 180.3 kB / 0.8491 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.93e-05/0.01186, allocations: 311.7 kB / 0.8494 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.01191, allocations: 128.8 kB / 0.8495 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.01196, allocations: 184.2 kB / 0.8497 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.01202, allocations: 101 kB / 0.8497 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.01207, allocations: 180.2 kB / 0.8499 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.01209, allocations: 105 kB / 0.85 GB, free: 2.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.01216, allocations: 82.77 kB / 0.8501 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01216, allocations: 0 / 0.8501 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001988/0.01235, allocations: 75.86 kB / 0.8502 GB, free: 1.91 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.0002233/0.01258, allocations: 259.8 kB / 0.8504 GB, free: 1.648 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.01267, allocations: 56.7 kB / 0.8505 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01267, allocations: 4 kB / 0.8505 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.01268, allocations: 11.94 kB / 0.8505 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.0129, allocations: 460.6 kB / 0.8509 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.01333, allocations: 359.8 kB / 0.8513 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.01338, allocations: 79.31 kB / 0.8513 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.177e-06/0.01339, allocations: 0 / 0.8513 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.01343, allocations: 55.38 kB / 0.8514 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01343, allocations: 0 / 0.8514 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of Templates: time 0.004828/0.01826, allocations: 2.793 MB / 0.8541 GB, free: 13.8 MB / 0.823 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.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.3345303889364]