Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001482/0.001482, allocations: 106.3 kB / 16.41 MB, free: 6.5 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.001707/0.001707, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00258/1.042, allocations: 1.401 MB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002278/1.044, allocations: 1.931 MB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/1.044, allocations: 5.094 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/1.045, allocations: 394.3 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/1.045, allocations: 16.62 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.719e-06/1.045, allocations: 0 / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/1.045, allocations: 120.7 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.946e-05/1.045, allocations: 27.48 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/1.046, allocations: 43.98 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/1.046, allocations: 65.67 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/1.046, allocations: 6.906 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/1.046, allocations: 178.2 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/1.046, allocations: 27.62 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/1.046, allocations: 75.69 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/1.047, allocations: 297.6 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.047, allocations: 0 / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/1.047, allocations: 0.7812 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.047, allocations: 0 / 1.093 GB, free: 2.672 MB / 0.8575 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.0006902/1.048, allocations: 495.4 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.048, allocations: 10.39 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/1.048, allocations: 94.97 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/1.048, allocations: 287.4 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/1.048, allocations: 156.1 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/1.048, allocations: 157.6 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.978e-05/1.048, allocations: 110.5 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.048, allocations: 75.28 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/1.048, allocations: 151.7 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.048, allocations: 151.2 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/1.048, allocations: 151.3 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/1.049, allocations: 0.5084 MB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.156e-05/1.049, allocations: 174 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/1.049, allocations: 81.89 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/1.049, allocations: 75.28 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.049, allocations: 114.7 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.049, allocations: 0 / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001786/1.049, allocations: 49.98 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/1.049, allocations: 127.5 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/1.049, allocations: 322.5 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.049, allocations: 27.12 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/1.049, allocations: 113.2 kB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-06/1.049, allocations: 0 / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/1.05, allocations: 66.05 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.05, allocations: 331 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/1.05, allocations: 67.06 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/1.05, allocations: 118.9 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/1.05, allocations: 213.4 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.05, allocations: 0.9062 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004883/1.051, allocations: 239 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.051, allocations: 6.688 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.051, allocations: 1.656 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.051, allocations: 2.219 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-06/1.051, allocations: 3.234 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.051, allocations: 9.875 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.051, allocations: 26.64 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/1.051, allocations: 13.28 kB / 1.097 GB, free: 14.75 MB / 0.8731 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.0003012/1.051, allocations: 226.6 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/1.052, allocations: 123.4 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.052, allocations: 115.9 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/1.052, allocations: 177.9 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001301/1.052, allocations: 185.5 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.666e-05/1.052, allocations: 181.5 kB / 1.098 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/1.052, allocations: 453.2 kB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/1.052, allocations: 106.9 kB / 1.099 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/1.052, allocations: 106.8 kB / 1.099 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.44e-05/1.052, allocations: 181.4 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/1.052, allocations: 181.4 kB / 1.099 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001298/1.053, allocations: 182 kB / 1.099 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-05/1.053, allocations: 178 kB / 1.1 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/1.053, allocations: 319.3 kB / 1.1 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.053, allocations: 201.3 kB / 1.1 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/1.053, allocations: 182.1 kB / 1.1 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/1.053, allocations: 107.2 kB / 1.1 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/1.053, allocations: 178.1 kB / 1.101 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/1.053, allocations: 107 kB / 1.101 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002591/1.054, allocations: 214.6 kB / 1.101 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.8e-07/1.054, allocations: 4 kB / 1.101 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004342/1.054, allocations: 64.95 kB / 1.101 GB, free: 11.12 MB / 0.8731 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.0003831/1.054, allocations: 278.2 kB / 1.101 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002741/1.055, allocations: 110.6 kB / 1.101 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.055, allocations: 0 / 1.101 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/1.055, allocations: 0.625 kB / 1.101 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/1.055, allocations: 458.7 kB / 1.102 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/1.056, allocations: 421 kB / 1.102 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/1.057, allocations: 0.7399 MB / 1.103 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/1.057, allocations: 10.09 kB / 1.103 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.057, allocations: 0 / 1.103 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of Templates: time 0.005251/1.062, allocations: 2.341 MB / 1.105 GB, free: 9.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches