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.001634/0.001634, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.667/1.667, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.979/2.979, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7924, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003169/0.7956, allocations: 1.393 MB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.7984, allocations: 1.931 MB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.7984, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.7996, allocations: 389.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.7996, allocations: 15.91 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.7996, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.7999, allocations: 131.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.144e-05/0.8, allocations: 21.48 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.8, allocations: 39.86 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.8002, allocations: 67.64 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.8002, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.8007, allocations: 176 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.8008, allocations: 35.83 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.8009, allocations: 67.61 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.8014, allocations: 296.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.8014, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8014, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.8014, allocations: 0 / 1.022 GB, free: 13.95 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.0008401/0.8022, allocations: 494.6 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8023, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.8025, allocations: 95.94 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.8028, allocations: 291.3 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.8029, allocations: 158.9 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.803, allocations: 158.9 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.8031, allocations: 117 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.8031, allocations: 75.28 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.8032, allocations: 150.6 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/0.8033, allocations: 150.6 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.8034, allocations: 154.6 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.8039, allocations: 0.5017 MB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.804, allocations: 177.1 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.804, allocations: 80.14 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.8041, allocations: 75.28 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.205e-05/0.8042, allocations: 109.8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8042, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001933/0.8044, allocations: 53.41 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.8044, allocations: 126.7 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.8048, allocations: 322.3 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.8049, allocations: 25.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.8049, allocations: 116.4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.8049, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.805, allocations: 61.69 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.8052, allocations: 334.8 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.8053, allocations: 67.95 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.8055, allocations: 117.7 kB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.8057, allocations: 213.7 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.8057, allocations: 4 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000464/0.8062, allocations: 233.2 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8062, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8062, allocations: 8 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8063, allocations: 0 / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-06/0.8063, allocations: 4 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8063, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.8064, allocations: 31.53 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.8064, allocations: 8.156 kB / 1.026 GB, free: 9.23 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.0002742/0.8067, allocations: 226.4 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.8068, allocations: 124.7 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.8069, allocations: 117.8 kB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.35e-05/0.807, allocations: 180.2 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.524e-05/0.8071, allocations: 180.3 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-05/0.8072, allocations: 180.2 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.8075, allocations: 453.2 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.257e-05/0.8076, allocations: 108.9 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.8076, allocations: 104.9 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.8077, allocations: 180.3 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/0.8078, allocations: 192.2 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.604e-05/0.8079, allocations: 176.3 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.006e-05/0.808, allocations: 184.2 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.8082, allocations: 319.5 kB / 1.029 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.8083, allocations: 205.8 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.8085, allocations: 180.2 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.8086, allocations: 108.9 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.8087, allocations: 180.3 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.8088, allocations: 108.9 kB / 1.029 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002228/0.809, allocations: 209.9 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.809, allocations: 4 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004122/0.8094, allocations: 67.98 kB / 1.03 GB, free: 5.305 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.0003973/0.8098, allocations: 266.7 kB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.8101, allocations: 111.9 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8101, allocations: 3.938 kB / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.8101, allocations: 0 / 1.03 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.8105, allocations: 460.8 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.8112, allocations: 393.7 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.8116, allocations: 0.7485 MB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.8116, allocations: 4 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.8116, allocations: 7.438 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8116, allocations: 0 / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.006082/0.8177, allocations: 2.292 MB / 1.034 GB, free: 0.9805 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=400 -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/jenkins/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