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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.004844/0.004844, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001161/0.001161, allocations: 195.9 kB / 16.79 MB, free: 5.809 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.349/1.349, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 59.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6424, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003158/0.6456, allocations: 1.456 MB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.6482, allocations: 1.92 MB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.6483, allocations: 3.938 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.6496, allocations: 369.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.6497, allocations: 19.91 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.6497, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.65, allocations: 135.1 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.53e-05/0.6501, allocations: 25.47 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.6501, allocations: 43.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.6503, allocations: 59.77 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.6503, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.6509, allocations: 183.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.651, allocations: 27.91 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.6511, allocations: 79.53 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.6514, allocations: 209.2 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6514, allocations: 4 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6514, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6514, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 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.0007679/0.6522, allocations: 494.6 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6523, allocations: 15.92 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.6524, allocations: 95.94 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.6527, allocations: 291.3 kB / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.6528, allocations: 154.9 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.6528, allocations: 154.9 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.837e-05/0.6529, allocations: 109.1 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.6529, allocations: 79.27 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.653, allocations: 150.6 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/0.6531, allocations: 150.6 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.6531, allocations: 154.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.6535, allocations: 0.5056 MB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.6536, allocations: 173.1 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.6537, allocations: 80.14 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.6537, allocations: 75.28 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.6538, allocations: 113.8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.6538, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001819/0.6539, allocations: 53.36 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.654, allocations: 130.7 kB / 1.025 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.6544, allocations: 318.3 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6544, allocations: 25.7 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.6545, allocations: 120.3 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.6545, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.6546, allocations: 65.62 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6547, allocations: 334.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.6548, allocations: 59.97 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.6549, allocations: 121.9 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.6552, allocations: 209.8 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6552, allocations: 0 / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004365/0.6556, allocations: 241.2 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6557, allocations: 4 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6557, allocations: 0 / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6557, allocations: 4 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-06/0.6557, allocations: 4 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.6557, allocations: 3.984 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.6558, allocations: 35.53 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.6559, allocations: 4.219 kB / 1.026 GB, free: 9.551 MB / 0.7794 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.0002305/0.6561, allocations: 225.6 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.6562, allocations: 124.7 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.6562, allocations: 113.9 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.687e-05/0.6563, allocations: 180.2 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.504e-05/0.6564, allocations: 184.2 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.06e-05/0.6564, allocations: 180.3 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.6567, allocations: 449.1 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/0.6568, allocations: 109.1 kB / 1.028 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.6568, allocations: 108.9 kB / 1.028 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.224e-05/0.6569, allocations: 180.3 kB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.6569, allocations: 180.3 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.504e-05/0.657, allocations: 184.2 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.63e-05/0.6571, allocations: 180.2 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.6572, allocations: 319.5 kB / 1.029 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.6573, allocations: 205.8 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.6574, allocations: 184.2 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6576, allocations: 101 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.6576, allocations: 184.2 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.6577, allocations: 105 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002013/0.6579, allocations: 213.9 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6579, allocations: 0 / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003723/0.6583, allocations: 68 kB / 1.03 GB, free: 5.637 MB / 0.7794 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.0003481/0.6586, allocations: 283.6 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.6588, allocations: 107.9 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6588, allocations: 0 / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.6588, allocations: 3.938 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.6592, allocations: 0.5258 MB / 1.031 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.6598, allocations: 445.2 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.6601, allocations: 0.7412 MB / 1.032 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.6601, allocations: 11.44 kB / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6601, allocations: 0 / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.004267/0.6644, allocations: 2.336 MB / 1.034 GB, free: 1.125 MB / 0.7794 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