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.001711/0.001711, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001988/0.001988, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.852/2.852, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 71.52 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3611, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003386/0.3645, allocations: 1.416 MB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.3682, allocations: 2.662 MB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.3682, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.3704, allocations: 0.5806 MB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.3704, allocations: 23.91 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.781e-06/0.3705, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.3707, allocations: 162.9 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.3708, allocations: 32.41 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.3709, allocations: 63.62 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3711, allocations: 79.58 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3711, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.3725, allocations: 471.3 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.3726, allocations: 39.78 kB / 1.07 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3727, allocations: 91.42 kB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000911/0.3736, allocations: 438.2 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8419 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.0008956/0.3746, allocations: 0.5529 MB / 1.071 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3746, allocations: 12.03 kB / 1.071 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.3748, allocations: 103.9 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.3751, allocations: 298.3 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.3752, allocations: 154.9 kB / 1.071 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.3753, allocations: 150.9 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.3754, allocations: 113.5 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.3754, allocations: 75.47 kB / 1.072 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.3755, allocations: 158.5 kB / 1.072 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.3756, allocations: 150.6 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.3756, allocations: 150.6 kB / 1.072 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.3761, allocations: 0.5367 MB / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.3762, allocations: 173.1 kB / 1.073 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.3763, allocations: 80.14 kB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.3763, allocations: 75.28 kB / 1.073 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.3764, allocations: 113.8 kB / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.3764, allocations: 0 / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0002287/0.3766, allocations: 53.36 kB / 1.073 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3767, allocations: 134.6 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.3772, allocations: 429.2 kB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3772, allocations: 29.7 kB / 1.074 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3773, allocations: 136.5 kB / 1.074 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.3773, allocations: 3.938 kB / 1.074 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3775, allocations: 93.66 kB / 1.074 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3776, allocations: 338.8 kB / 1.074 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3778, allocations: 100.5 kB / 1.074 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3779, allocations: 161.3 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.3783, allocations: 309.6 kB / 1.075 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3783, allocations: 3.984 kB / 1.075 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005593/0.3789, allocations: 325 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3789, allocations: 4 kB / 1.075 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3789, allocations: 3.938 kB / 1.075 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3789, allocations: 4 kB / 1.075 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-06/0.3789, allocations: 7.938 kB / 1.075 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3789, allocations: 3.984 kB / 1.075 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3791, allocations: 43.28 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3791, allocations: 8.219 kB / 1.075 GB, free: 3.707 MB / 0.8419 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.000257/0.3794, allocations: 245 kB / 1.075 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.3795, allocations: 128.6 kB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.3796, allocations: 122.9 kB / 1.075 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/0.3796, allocations: 176.3 kB / 1.076 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.202e-05/0.3797, allocations: 184.2 kB / 1.076 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-05/0.3798, allocations: 180.3 kB / 1.076 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.3801, allocations: 477.1 kB / 1.076 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/0.3802, allocations: 105 kB / 1.077 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3802, allocations: 101 kB / 1.077 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.3803, allocations: 184.2 kB / 1.077 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/0.3804, allocations: 184.2 kB / 1.077 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-05/0.3805, allocations: 184.4 kB / 1.077 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.44e-05/0.3806, allocations: 180.3 kB / 1.077 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3808, allocations: 327.4 kB / 1.078 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3809, allocations: 201.8 kB / 1.078 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.381, allocations: 188.1 kB / 1.078 GB, free: 412 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3812, allocations: 112.9 kB / 1.078 GB, free: 292 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.3813, allocations: 176.3 kB / 1.078 GB, free: 108 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.5592/0.9404, allocations: 105.8 kB / 1.078 GB, free: 23.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004259/0.9409, allocations: 274.8 kB / 1.079 GB, free: 23.17 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.22e-07/0.9409, allocations: 0.5625 kB / 1.079 GB, free: 23.17 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005888/0.9415, allocations: 92.48 kB / 1.079 GB, free: 23.17 MB / 0.8419 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.0004231/0.942, allocations: 303.7 kB / 1.079 GB, free: 23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.9422, allocations: 161.5 kB / 1.079 GB, free: 23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9422, allocations: 2.688 kB / 1.079 GB, free: 23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.9423, allocations: 4.344 kB / 1.079 GB, free: 23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.9426, allocations: 466.4 kB / 1.08 GB, free: 22.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.9433, allocations: 0.5144 MB / 1.08 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.9436, allocations: 0.7748 MB / 1.081 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.9436, allocations: 9.375 kB / 1.081 GB, free: 21.55 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.9436, allocations: 0 / 1.081 GB, free: 21.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.006092/0.9497, allocations: 3.154 MB / 1.084 GB, free: 21.33 MB / 0.8419 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/jenkins1/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