Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001311/0.001311, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001327/0.001327, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.89 kB / 1.104 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9529, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002422/0.9553, allocations: 1.402 MB / 1.27 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.9574, allocations: 1.943 MB / 1.272 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.9575, allocations: 0.8438 kB / 1.272 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000997/0.9585, allocations: 388.5 kB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.9585, allocations: 19.92 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.9585, allocations: 0 / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.9587, allocations: 125.5 kB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.9588, allocations: 20.84 kB / 1.273 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.048e-05/0.9589, allocations: 38.75 kB / 1.273 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.959, allocations: 67.47 kB / 1.273 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.959, allocations: 2.375 kB / 1.273 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.9595, allocations: 190.9 kB / 1.273 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.9596, allocations: 35.52 kB / 1.273 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.9597, allocations: 68.36 kB / 1.273 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.9601, allocations: 284.3 kB / 1.273 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9601, allocations: 4.719 kB / 1.273 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9601, allocations: 0 / 1.273 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.9601, allocations: 4.875 kB / 1.273 GB, free: 4.898 MB / 0.9981 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.0006634/0.9608, allocations: 0.493 MB / 1.274 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9608, allocations: 10 kB / 1.274 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.9609, allocations: 106.6 kB / 1.274 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.961, allocations: 95.53 kB / 1.274 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.9612, allocations: 296 kB / 1.274 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.9612, allocations: 163.7 kB / 1.274 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.9613, allocations: 154 kB / 1.274 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.274e-05/0.9613, allocations: 108.9 kB / 1.275 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.9613, allocations: 78.05 kB / 1.275 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.9614, allocations: 151.1 kB / 1.275 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.9614, allocations: 150.6 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.9614, allocations: 159.9 kB / 1.275 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.9617, allocations: 0.4994 MB / 1.276 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.9617, allocations: 167.8 kB / 1.276 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.9617, allocations: 80.14 kB / 1.276 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.9618, allocations: 83.22 kB / 1.276 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.9618, allocations: 111.4 kB / 1.276 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.9618, allocations: 1.312 kB / 1.276 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001657/0.9619, allocations: 56.52 kB / 1.276 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.962, allocations: 127.6 kB / 1.276 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.9623, allocations: 318.9 kB / 1.276 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.9623, allocations: 30.58 kB / 1.276 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.9624, allocations: 120.7 kB / 1.277 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.9624, allocations: 0.6562 kB / 1.277 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.9625, allocations: 62.03 kB / 1.277 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.9625, allocations: 329.7 kB / 1.277 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-05/0.9626, allocations: 60.16 kB / 1.277 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.9627, allocations: 127.5 kB / 1.277 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.9629, allocations: 205.5 kB / 1.277 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9629, allocations: 0.8438 kB / 1.277 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004147/0.9634, allocations: 235.4 kB / 1.278 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.9634, allocations: 5.969 kB / 1.278 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9634, allocations: 1.688 kB / 1.278 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.9634, allocations: 10 kB / 1.278 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-06/0.9634, allocations: 7.219 kB / 1.278 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9634, allocations: 1.719 kB / 1.278 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.9635, allocations: 34.05 kB / 1.278 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.9635, allocations: 3.5 kB / 1.278 GB, free: 0.8516 MB / 0.9981 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.00026/0.9638, allocations: 222.1 kB / 1.278 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.9639, allocations: 127.3 kB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.225e-05/0.964, allocations: 122.6 kB / 1.278 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.447e-05/0.964, allocations: 180.9 kB / 1.278 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-05/0.9641, allocations: 180.9 kB / 1.278 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.734e-05/0.9642, allocations: 178.5 kB / 1.279 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.9645, allocations: 453.5 kB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-05/0.9646, allocations: 113.6 kB / 1.279 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.9646, allocations: 105.8 kB / 1.279 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.9647, allocations: 177.5 kB / 1.279 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.9648, allocations: 182.7 kB / 1.28 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.391e-05/0.9649, allocations: 181.2 kB / 1.28 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.229e-05/0.965, allocations: 178.6 kB / 1.28 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.9651, allocations: 321 kB / 1.28 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.9652, allocations: 202.9 kB / 1.28 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.9654, allocations: 181.2 kB / 1.281 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.9655, allocations: 104.3 kB / 1.281 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.9656, allocations: 186.1 kB / 1.281 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.9656, allocations: 102.6 kB / 1.281 GB, free: 13.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002131/0.9658, allocations: 217.6 kB / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9658, allocations: 0 / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003935/0.9662, allocations: 63.56 kB / 1.281 GB, free: 13.21 MB / 1.014 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.0006978/0.9669, allocations: 0.9236 MB / 1.282 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.9671, allocations: 83.66 kB / 1.282 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9671, allocations: 4.438 kB / 1.282 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.9671, allocations: 0.875 kB / 1.282 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.9676, allocations: 464.1 kB / 1.283 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.9705, allocations: 2.459 MB / 1.285 GB, free: 10.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.971, allocations: 0.7381 MB / 1.286 GB, free: 9.383 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.971, allocations: 2.938 kB / 1.286 GB, free: 9.383 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.971, allocations: 37.58 kB / 1.286 GB, free: 9.352 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/0.971, allocations: 0 / 1.286 GB, free: 9.352 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/1.002, allocations: 4.874 MB / 1.291 GB, free: 8.672 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/9.039, allocations: 15.11 kB / 1.291 GB, free: 8.664 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.009473571088165]