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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01079/0.01079, allocations: 100.8 kB / 15.73 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003104/0.003104, allocations: 194 kB / 16.67 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.568/2.568, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002974/1.052, allocations: 1.393 MB / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002491/1.055, allocations: 1.936 MB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/1.055, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/1.056, allocations: 389.9 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/1.056, allocations: 19.91 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.232e-06/1.056, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00032/1.057, allocations: 123.1 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/1.057, allocations: 17.5 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.696e-05/1.057, allocations: 47.78 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/1.057, allocations: 63.7 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/1.057, allocations: 4 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/1.057, allocations: 187.9 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/1.057, allocations: 27.84 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/1.058, allocations: 75.59 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005084/1.058, allocations: 279.4 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/1.058, allocations: 4 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.873e-06/1.058, allocations: 0 / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.058, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 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.0008489/1.059, allocations: 0.4944 MB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.059, allocations: 11.97 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/1.059, allocations: 96.11 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/1.059, allocations: 291.4 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/1.059, allocations: 150.9 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/1.06, allocations: 162.9 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/1.06, allocations: 113 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.06, allocations: 75.28 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/1.06, allocations: 150.6 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/1.06, allocations: 154.5 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/1.06, allocations: 154.6 kB / 1.227 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/1.06, allocations: 0.4978 MB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.734e-05/1.06, allocations: 173.1 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/1.06, allocations: 84.12 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/1.06, allocations: 79.28 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/1.06, allocations: 109.8 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/1.06, allocations: 0 / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001757/1.061, allocations: 57.5 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/1.061, allocations: 126.7 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/1.061, allocations: 318.4 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.061, allocations: 25.7 kB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/1.061, allocations: 124.5 kB / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/1.061, allocations: 0 / 1.228 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/1.061, allocations: 65.67 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.061, allocations: 326.8 kB / 1.229 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/1.061, allocations: 63.95 kB / 1.229 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/1.061, allocations: 118 kB / 1.229 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/1.062, allocations: 213.8 kB / 1.229 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.062, allocations: 0 / 1.229 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004267/1.062, allocations: 237.3 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.062, allocations: 4 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.062, allocations: 4 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.062, allocations: 0 / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/1.062, allocations: 4.219 kB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.062, allocations: 7.938 kB / 1.229 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/1.062, allocations: 31.67 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.062, allocations: 4 kB / 1.229 GB, free: 8.832 MB / 0.9512 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.0002384/1.063, allocations: 225.5 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/1.063, allocations: 128.8 kB / 1.23 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/1.063, allocations: 121.8 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-05/1.063, allocations: 180.3 kB / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-05/1.063, allocations: 180.2 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.528e-05/1.063, allocations: 176.3 kB / 1.23 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/1.063, allocations: 461.1 kB / 1.231 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/1.063, allocations: 105 kB / 1.231 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/1.063, allocations: 112.9 kB / 1.231 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.011e-05/1.063, allocations: 180.2 kB / 1.231 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/1.063, allocations: 184.3 kB / 1.231 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.635e-05/1.063, allocations: 184.1 kB / 1.231 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-05/1.063, allocations: 176.3 kB / 1.232 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/1.064, allocations: 323.7 kB / 1.232 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/1.064, allocations: 201.9 kB / 1.232 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/1.064, allocations: 184.2 kB / 1.232 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.064, allocations: 101 kB / 1.232 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/1.064, allocations: 176.3 kB / 1.233 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/1.064, allocations: 112.9 kB / 1.233 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000193/1.064, allocations: 213.9 kB / 1.233 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/1.064, allocations: 0 / 1.233 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000363/1.065, allocations: 63.94 kB / 1.233 GB, free: 4.902 MB / 0.9512 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.0003682/1.065, allocations: 278.8 kB / 1.233 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001818/1.065, allocations: 83.89 kB / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.065, allocations: 0 / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/1.065, allocations: 0 / 1.233 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/1.066, allocations: 460.7 kB / 1.234 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/1.066, allocations: 404.7 kB / 1.234 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.066, allocations: 0.7431 MB / 1.235 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.388e-05/1.066, allocations: 4 kB / 1.235 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/1.066, allocations: 11.44 kB / 1.235 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/1.066, allocations: 4 kB / 1.235 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of Templates: time 0.005491/1.072, allocations: 2.307 MB / 1.237 GB, free: 0.5781 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (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 & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches