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.001318/0.001318, allocations: 106.1 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.001469/0.001469, allocations: 189.7 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.15 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.543/2.543, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 64.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9685/0.9706, allocations: 151.6 MB / 1.167 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002553/0.9732, allocations: 1.411 MB / 1.169 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.9765, allocations: 2.674 MB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.9766, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.9782, allocations: 0.5816 MB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.9783, allocations: 27.83 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 4.879e-06/0.9783, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.9786, allocations: 158.9 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.9787, allocations: 36.41 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.9787, allocations: 55.73 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.9789, allocations: 79.58 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.9789, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.9799, allocations: 467.3 kB / 1.173 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.98, allocations: 47.77 kB / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.9801, allocations: 91.42 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.9807, allocations: 434.2 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9807, allocations: 4 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9807, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9807, allocations: 3.938 kB / 1.173 GB, free: 13.96 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.0007949/0.9815, allocations: 0.5451 MB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.9816, allocations: 12.88 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.9817, allocations: 107.9 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.982, allocations: 302.3 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.9821, allocations: 158.9 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.9822, allocations: 150.9 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.937e-05/0.9822, allocations: 101.5 kB / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.9823, allocations: 75.47 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.9823, allocations: 158.5 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.9824, allocations: 154.6 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.9824, allocations: 162.5 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.9829, allocations: 0.5328 MB / 1.176 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.814e-05/0.983, allocations: 177.1 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.9831, allocations: 80.14 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.9831, allocations: 75.28 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.9831, allocations: 109.8 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.9831, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001739/0.9833, allocations: 53.36 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.9834, allocations: 130.7 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.9838, allocations: 441.2 kB / 1.177 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.9839, allocations: 25.7 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.9839, allocations: 132.5 kB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.984, allocations: 4 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/0.984, allocations: 85.67 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9842, allocations: 342.8 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.9843, allocations: 100.5 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.9845, allocations: 169.2 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.9848, allocations: 297.7 kB / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9848, allocations: 0 / 1.178 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000475/0.9853, allocations: 336.9 kB / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9853, allocations: 8 kB / 1.178 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9854, allocations: 3.938 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9854, allocations: 7.938 kB / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.9854, allocations: 0 / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9854, allocations: 4 kB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.9855, allocations: 43.28 kB / 1.178 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.9855, allocations: 4 kB / 1.178 GB, free: 8.68 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.000269/0.9858, allocations: 250.9 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.9859, allocations: 124.7 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.986, allocations: 110.9 kB / 1.179 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/0.986, allocations: 188.2 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001044/0.9861, allocations: 176.3 kB / 1.179 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-05/0.9862, allocations: 184.2 kB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.9866, allocations: 477.2 kB / 1.18 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.9867, allocations: 101 kB / 1.18 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.9867, allocations: 112.9 kB / 1.18 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-05/0.9868, allocations: 176.3 kB / 1.18 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.9868, allocations: 184.1 kB / 1.18 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.752e-05/0.9869, allocations: 184.3 kB / 1.18 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/0.987, allocations: 188.2 kB / 1.18 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.9871, allocations: 319.7 kB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.9872, allocations: 205.7 kB / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.9873, allocations: 188.2 kB / 1.181 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.9875, allocations: 105 kB / 1.181 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.9875, allocations: 188.2 kB / 1.181 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.9876, allocations: 109 kB / 1.181 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002546/0.9878, allocations: 271.1 kB / 1.182 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9878, allocations: 0 / 1.182 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004307/0.9883, allocations: 87.98 kB / 1.182 GB, free: 4.617 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.0004761/0.9888, allocations: 307.3 kB / 1.182 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.989, allocations: 167.8 kB / 1.182 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.989, allocations: 0 / 1.182 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-06/0.989, allocations: 4 kB / 1.182 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.9895, allocations: 461.1 kB / 1.183 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.9902, allocations: 0.5202 MB / 1.183 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.9908, allocations: 0.7742 MB / 1.184 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.9908, allocations: 11.44 kB / 1.184 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9908, allocations: 4 kB / 1.184 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of Templates: time 0.005498/0.9963, allocations: 3.145 MB / 1.187 GB, free: 15.17 MB / 0.92 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