Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001922/0.001922, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001768/0.001768, allocations: 193.3 kB / 16.14 MB, free: 6.68 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.938/2.938, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6907, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002861/0.6936, allocations: 1.474 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003588/0.6972, allocations: 2.651 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.6973, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.6989, allocations: 0.546 MB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.6989, allocations: 19.91 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.29e-06/0.6989, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.6992, allocations: 178.9 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.6993, allocations: 36.39 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.6994, allocations: 59.73 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.6996, allocations: 79.58 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.6996, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.7007, allocations: 487.2 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.7007, allocations: 35.78 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.7009, allocations: 99.42 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.7015, allocations: 394.3 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7015, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7015, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7016, allocations: 0 / 1.023 GB, free: 12.7 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.0008782/0.7024, allocations: 0.5508 MB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.7025, allocations: 11.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.7027, allocations: 99.94 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.703, allocations: 314.3 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/0.7031, allocations: 150.9 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.7032, allocations: 154.9 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/0.7033, allocations: 105.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.7033, allocations: 79.47 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.7034, allocations: 158.5 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-05/0.7035, allocations: 154.6 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.7036, allocations: 150.6 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.704, allocations: 0.5366 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7042, allocations: 181.1 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.7042, allocations: 84.14 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.7043, allocations: 75.28 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/0.7044, allocations: 109.8 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7044, allocations: 0 / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.000191/0.7046, allocations: 53.36 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.7046, allocations: 130.7 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.7052, allocations: 441.1 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.7052, allocations: 25.7 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.7053, allocations: 136.4 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.7053, allocations: 0 / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.7055, allocations: 89.67 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7057, allocations: 338.8 kB / 1.026 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.7058, allocations: 100.5 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.706, allocations: 169.3 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.7064, allocations: 305.6 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7064, allocations: 0 / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005745/0.707, allocations: 325 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.707, allocations: 13.3 kB / 1.027 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.707, allocations: 7.938 kB / 1.027 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7071, allocations: 0 / 1.027 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-06/0.7071, allocations: 4 kB / 1.027 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.7071, allocations: 3.938 kB / 1.027 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.7073, allocations: 47.28 kB / 1.027 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.7073, allocations: 4 kB / 1.027 GB, free: 7.402 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.0003419/0.7076, allocations: 237.1 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.7077, allocations: 124.7 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.7078, allocations: 122.8 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.606e-05/0.7079, allocations: 180.3 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000113/0.7081, allocations: 184.2 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/0.7082, allocations: 180.2 kB / 1.028 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.7086, allocations: 477.2 kB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.439e-05/0.7087, allocations: 108.9 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.7087, allocations: 101 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.7089, allocations: 180.2 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.709, allocations: 184.2 kB / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-05/0.7091, allocations: 176.3 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.7092, allocations: 192.2 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.7094, allocations: 323.5 kB / 1.03 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.7095, allocations: 201.7 kB / 1.03 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7097, allocations: 188.2 kB / 1.03 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.7099, allocations: 112.9 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.71, allocations: 176.3 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/0.71, allocations: 109.2 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000329/0.7104, allocations: 279.1 kB / 1.031 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7104, allocations: 0 / 1.031 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004883/0.7109, allocations: 79.98 kB / 1.031 GB, free: 3.344 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.0004423/0.7113, allocations: 299 kB / 1.031 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.7116, allocations: 163.9 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7116, allocations: 3.938 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.7116, allocations: 0 / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.7121, allocations: 0.5393 MB / 1.032 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007734/0.7129, allocations: 0.5244 MB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.7134, allocations: 0.7785 MB / 1.033 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.7134, allocations: 0 / 1.033 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.7135, allocations: 11.44 kB / 1.033 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.7135, allocations: 0 / 1.033 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of Templates: time 0.007475/0.7209, allocations: 2.821 MB / 1.036 GB, free: 14.16 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches