Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001323/0.001323, 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.001476/0.001476, allocations: 195.2 kB / 16.14 MB, free: 6.645 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.756/2.756, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 69.2 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003472/0.3674, allocations: 1.483 MB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3708, allocations: 2.643 MB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.3708, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.3725, allocations: 0.5482 MB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.3726, allocations: 27.91 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.3726, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.3729, allocations: 166.9 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.673e-05/0.373, allocations: 32.41 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.373, allocations: 59.73 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3732, allocations: 83.52 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3732, allocations: 4 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.3743, allocations: 487.3 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.3744, allocations: 43.75 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3745, allocations: 91.44 kB / 1.058 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006434/0.3752, allocations: 390.3 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.3752, allocations: 7.984 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3752, allocations: 3.938 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3752, allocations: 0 / 1.058 GB, free: 2.797 MB / 0.8106 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.0007974/0.376, allocations: 0.549 MB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3761, allocations: 12.02 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.3762, allocations: 99.94 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.3765, allocations: 298.4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.3765, allocations: 158.9 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.3766, allocations: 158.9 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.171e-05/0.3767, allocations: 113.5 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3767, allocations: 75.47 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.3768, allocations: 154.5 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.654e-05/0.3768, allocations: 150.6 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.3769, allocations: 154.6 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.3773, allocations: 0.5404 MB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.3774, allocations: 165.1 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.3774, allocations: 80.14 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3775, allocations: 79.28 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.3775, allocations: 109.8 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3775, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001847/0.3777, allocations: 61.28 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.3778, allocations: 126.7 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.3782, allocations: 433.2 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3783, allocations: 29.7 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.3784, allocations: 128.5 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.3784, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.3785, allocations: 97.66 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3786, allocations: 342.8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3788, allocations: 100.5 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.3789, allocations: 157.3 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.3792, allocations: 309.6 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3793, allocations: 0 / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004889/0.3798, allocations: 329 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3798, allocations: 4 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3798, allocations: 11.88 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3798, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.3798, allocations: 4 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3798, allocations: 4 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.38, allocations: 43.5 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.38, allocations: 11.98 kB / 1.063 GB, free: 13.52 MB / 0.8262 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.0002005/0.3802, allocations: 242.5 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.3803, allocations: 124.6 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.3804, allocations: 118.9 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-05/0.3804, allocations: 184.3 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.53e-05/0.3805, allocations: 188.2 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/0.3806, allocations: 176.3 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.3809, allocations: 477.1 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/0.3809, allocations: 105 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.381, allocations: 104.9 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.316e-05/0.381, allocations: 184.3 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.3811, allocations: 188.2 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.916e-05/0.3812, allocations: 184.2 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.817e-05/0.3813, allocations: 176.3 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.3814, allocations: 323.5 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3815, allocations: 209.7 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.3816, allocations: 184.1 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3818, allocations: 101 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.3818, allocations: 184.2 kB / 1.066 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.3819, allocations: 105 kB / 1.066 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000257/0.3822, allocations: 279.1 kB / 1.067 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3822, allocations: 4 kB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003998/0.3826, allocations: 76 kB / 1.067 GB, free: 9.461 MB / 0.8262 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.0003909/0.383, allocations: 310.2 kB / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3832, allocations: 159.9 kB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3832, allocations: 3.938 kB / 1.067 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3832, allocations: 0 / 1.067 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3837, allocations: 0.5341 MB / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.3843, allocations: 0.5317 MB / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3847, allocations: 0.7785 MB / 1.069 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.381e-05/0.3847, allocations: 0 / 1.069 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.3847, allocations: 11.44 kB / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3847, allocations: 0 / 1.069 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.006204/0.3909, allocations: 2.837 MB / 1.072 GB, free: 4.25 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches