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.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_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.001148/0.001148, allocations: 100.1 kB / 15.88 MB, free: 12 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.001258/0.001258, allocations: 199.5 kB / 16.79 MB, free: 6.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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.531 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.573/2.573, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 63.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6492/0.651, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003016/0.654, allocations: 1.475 MB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.6574, allocations: 2.643 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.6575, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.6595, allocations: 0.5499 MB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.6596, allocations: 19.91 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.6596, allocations: 3.938 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.6599, allocations: 170.9 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.6599, allocations: 40.38 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.6601, allocations: 59.73 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.6602, allocations: 79.53 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.6602, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.6615, allocations: 495.2 kB / 1.023 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.6616, allocations: 31.84 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.6617, allocations: 103.4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.6621, allocations: 286.9 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6621, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6621, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.6621, allocations: 0 / 1.023 GB, free: 12.82 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.0007832/0.6629, allocations: 0.5451 MB / 1.024 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.663, allocations: 11.98 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.6632, allocations: 103.9 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.6634, allocations: 306.3 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.6635, allocations: 158.9 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.6635, allocations: 154.9 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.708e-05/0.6636, allocations: 101.5 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6636, allocations: 75.47 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.6637, allocations: 162.5 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/0.6637, allocations: 150.6 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.6638, allocations: 150.6 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.6642, allocations: 0.5365 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.6643, allocations: 173.2 kB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.6643, allocations: 84.14 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.6643, allocations: 75.28 kB / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6644, allocations: 109.8 kB / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6644, allocations: 0 / 1.026 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001796/0.6646, allocations: 61.28 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.6646, allocations: 130.7 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.665, allocations: 437.2 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.6651, allocations: 29.7 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.6651, allocations: 128.5 kB / 1.027 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.6651, allocations: 0 / 1.027 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.6652, allocations: 93.66 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6654, allocations: 338.8 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.6655, allocations: 100.5 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.6657, allocations: 161.3 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.666, allocations: 313.5 kB / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.666, allocations: 0 / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005137/0.6665, allocations: 332.9 kB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6665, allocations: 8.219 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6665, allocations: 7.938 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6666, allocations: 0 / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.886e-06/0.6666, allocations: 4 kB / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.6666, allocations: 0 / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.6667, allocations: 47.28 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.6667, allocations: 7.984 kB / 1.028 GB, free: 7.531 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.0002505/0.667, allocations: 237.6 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.6671, allocations: 128.6 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.6671, allocations: 118.9 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/0.6672, allocations: 180.2 kB / 1.029 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.868e-05/0.6673, allocations: 180.2 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.906e-05/0.6673, allocations: 180.3 kB / 1.029 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.6676, allocations: 481.1 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.6677, allocations: 101 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.6677, allocations: 104.9 kB / 1.03 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.694e-05/0.6678, allocations: 176.3 kB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.6678, allocations: 188.2 kB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.976e-05/0.6679, allocations: 180.3 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.735e-05/0.668, allocations: 188.2 kB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.6681, allocations: 327.4 kB / 1.031 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.6682, allocations: 205.7 kB / 1.031 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.6683, allocations: 188.1 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.6684, allocations: 105 kB / 1.031 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.6685, allocations: 184.2 kB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.6685, allocations: 105.3 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002555/0.6688, allocations: 279.1 kB / 1.032 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6688, allocations: 0 / 1.032 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003875/0.6692, allocations: 76 kB / 1.032 GB, free: 3.477 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.0003814/0.6696, allocations: 311.9 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.6698, allocations: 167.8 kB / 1.032 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6698, allocations: 3.938 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.6698, allocations: 0 / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.6703, allocations: 0.5341 MB / 1.033 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.671, allocations: 0.5495 MB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.6713, allocations: 0.7746 MB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.6713, allocations: 15.38 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6713, allocations: 0 / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.005388/0.6767, allocations: 3.038 MB / 1.037 GB, free: 14.03 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=480 -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/jenkins1/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