Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001568/0.001568, allocations: 101.8 kB / 16.41 MB, free: 6.512 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.001839/0.001839, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 55.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9998/1.001, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002869/1.004, allocations: 1.409 MB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002501/1.007, allocations: 1.931 MB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/1.007, allocations: 0 / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/1.008, allocations: 385.9 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/1.008, allocations: 19.91 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.27e-06/1.008, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/1.008, allocations: 123.2 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/1.008, allocations: 25.55 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/1.009, allocations: 47.75 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/1.009, allocations: 63.64 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/1.009, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/1.009, allocations: 179.9 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.616e-05/1.009, allocations: 27.84 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/1.009, allocations: 79.59 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/1.01, allocations: 288.5 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.01, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.492e-06/1.01, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.01, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 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.0007745/1.011, allocations: 0.4908 MB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.011, allocations: 12.88 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/1.011, allocations: 92.03 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/1.011, allocations: 291.3 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/1.011, allocations: 150.9 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/1.011, allocations: 162.9 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.66e-05/1.011, allocations: 113 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/1.011, allocations: 75.28 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/1.012, allocations: 150.6 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/1.012, allocations: 150.6 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/1.012, allocations: 158.5 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/1.012, allocations: 0.5055 MB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/1.012, allocations: 173.1 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/1.012, allocations: 80.14 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.012, allocations: 75.28 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/1.012, allocations: 113.8 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/1.012, allocations: 4 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001826/1.012, allocations: 49.5 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/1.013, allocations: 126.7 kB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/1.013, allocations: 318.2 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/1.013, allocations: 29.7 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/1.013, allocations: 116.4 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/1.013, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/1.013, allocations: 61.69 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.013, allocations: 338.8 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/1.013, allocations: 59.97 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/1.013, allocations: 114 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/1.014, allocations: 213.8 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.014, allocations: 8 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004249/1.014, allocations: 233.1 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.014, allocations: 4 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.014, allocations: 4 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.014, allocations: 0 / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-06/1.014, allocations: 4 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.014, allocations: 7.922 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.014, allocations: 31.53 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/1.014, allocations: 4 kB / 1.176 GB, free: 10.6 MB / 0.9044 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.0002046/1.015, allocations: 229.3 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/1.015, allocations: 120.7 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/1.015, allocations: 121.6 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/1.015, allocations: 176.3 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-05/1.015, allocations: 184.2 kB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-05/1.015, allocations: 180.3 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/1.015, allocations: 453.2 kB / 1.177 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/1.015, allocations: 109 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/1.015, allocations: 108.9 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.753e-05/1.015, allocations: 188.1 kB / 1.178 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/1.015, allocations: 188.2 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.438e-05/1.015, allocations: 176.3 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.697e-05/1.016, allocations: 184.2 kB / 1.178 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/1.016, allocations: 315.6 kB / 1.179 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.016, allocations: 205.8 kB / 1.179 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/1.016, allocations: 176.3 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/1.016, allocations: 104.9 kB / 1.179 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/1.016, allocations: 184.2 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/1.016, allocations: 112.9 kB / 1.179 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001943/1.016, allocations: 209.9 kB / 1.18 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.016, allocations: 4 kB / 1.18 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003551/1.017, allocations: 67.98 kB / 1.18 GB, free: 6.664 MB / 0.9044 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.0003309/1.017, allocations: 266.8 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001895/1.017, allocations: 108 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.017, allocations: 0 / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/1.017, allocations: 0 / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/1.018, allocations: 464.2 kB / 1.18 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/1.018, allocations: 427 kB / 1.181 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/1.019, allocations: 0.7431 MB / 1.182 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/1.019, allocations: 7.438 kB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/1.019, allocations: 4 kB / 1.182 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.004331/1.023, allocations: 2.334 MB / 1.184 GB, free: 2.273 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches