Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,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_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001662, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001719/0.001719, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.15 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.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001514, allocations: 71.88 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9995/1.001, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002381/1.003, allocations: 1.41 MB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002855/1.006, allocations: 2.679 MB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/1.006, allocations: 0.7188 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/1.008, allocations: 0.5779 MB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/1.008, allocations: 24.69 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/1.008, allocations: 4 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/1.008, allocations: 159 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/1.008, allocations: 29.86 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/1.008, allocations: 57.95 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/1.009, allocations: 88.48 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/1.009, allocations: 2.375 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/1.01, allocations: 470 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/1.01, allocations: 33.02 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/1.01, allocations: 97.56 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007001/1.011, allocations: 443.5 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.011, allocations: 1.125 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/1.011, allocations: 0.6562 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.011, allocations: 0 / 1.094 GB, free: 1.844 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.0007395/1.011, allocations: 0.5471 MB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.012, allocations: 8.969 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/1.012, allocations: 101.7 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/1.012, allocations: 307.2 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/1.012, allocations: 152.3 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/1.012, allocations: 153.6 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.942e-05/1.012, allocations: 106.7 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.012, allocations: 83.41 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.012, allocations: 155.2 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/1.012, allocations: 152.1 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/1.012, allocations: 155.2 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/1.012, allocations: 0.5389 MB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/1.013, allocations: 174.5 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/1.013, allocations: 84.83 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/1.013, allocations: 76.08 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.013, allocations: 110.5 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.013, allocations: 0.7188 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001792/1.013, allocations: 59.55 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.013, allocations: 127.4 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/1.014, allocations: 435.9 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.014, allocations: 26.61 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/1.014, allocations: 138.6 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/1.014, allocations: 0 / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.014, allocations: 89.47 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.014, allocations: 344 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.014, allocations: 94.83 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/1.014, allocations: 166.6 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/1.015, allocations: 309.4 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.015, allocations: 0 / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005537/1.015, allocations: 326.8 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.015, allocations: 9.828 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.015, allocations: 4.875 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.015, allocations: 2.969 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/1.015, allocations: 1.859 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/1.015, allocations: 6.062 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/1.015, allocations: 45.45 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.015, allocations: 4.453 kB / 1.099 GB, free: 13.66 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.0002299/1.016, allocations: 244.3 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/1.016, allocations: 121.4 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/1.016, allocations: 119.9 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-05/1.016, allocations: 181.9 kB / 1.1 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-05/1.016, allocations: 181.9 kB / 1.1 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-05/1.016, allocations: 181.7 kB / 1.1 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/1.016, allocations: 476.7 kB / 1.101 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/1.016, allocations: 106.8 kB / 1.101 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/1.016, allocations: 102.9 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.105e-05/1.017, allocations: 182 kB / 1.101 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/1.017, allocations: 186 kB / 1.101 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.244e-05/1.017, allocations: 182.3 kB / 1.102 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.646e-05/1.017, allocations: 186.1 kB / 1.102 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/1.017, allocations: 327.1 kB / 1.102 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.017, allocations: 198.2 kB / 1.102 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.017, allocations: 191 kB / 1.102 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.017, allocations: 111 kB / 1.103 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/1.017, allocations: 178.1 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/1.017, allocations: 106.6 kB / 1.103 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003319/1.018, allocations: 276 kB / 1.103 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.018, allocations: 0 / 1.103 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004678/1.018, allocations: 83.03 kB / 1.103 GB, free: 9.969 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.0004212/1.019, allocations: 312.9 kB / 1.103 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002507/1.019, allocations: 164.7 kB / 1.104 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.019, allocations: 0 / 1.104 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.019, allocations: 1.125 kB / 1.104 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/1.019, allocations: 464.4 kB / 1.104 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/1.02, allocations: 0.5185 MB / 1.105 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.02, allocations: 0.7761 MB / 1.105 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/1.02, allocations: 9.625 kB / 1.105 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/1.02, allocations: 0 / 1.105 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.006505/1.027, allocations: 3.145 MB / 1.108 GB, free: 7.84 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches