Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_low,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001812/0.001813, allocations: 191.3 kB / 17.2 MB, free: 5.598 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.504/1.504, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.783/2.783, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 66.92 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002908/0.3703, allocations: 1.391 MB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.3728, allocations: 1.935 MB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.3729, allocations: 4 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.3739, allocations: 381.9 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.374, allocations: 23.84 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.168e-06/0.374, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.3742, allocations: 123.2 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.3743, allocations: 25.44 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.3744, allocations: 39.81 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.3745, allocations: 59.77 kB / 1.069 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3745, allocations: 4 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.375, allocations: 179.9 kB / 1.069 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.3751, allocations: 31.84 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.3752, allocations: 75.53 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.3757, allocations: 287.2 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3757, allocations: 3.938 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3757, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3757, allocations: 4 kB / 1.069 GB, free: 10.2 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.0008115/0.3765, allocations: 494.5 kB / 1.07 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3766, allocations: 8.031 kB / 1.07 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.3767, allocations: 100 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.377, allocations: 279.4 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.3771, allocations: 154.9 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.3772, allocations: 158.9 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.001e-05/0.3773, allocations: 109.1 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.3773, allocations: 75.28 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.3774, allocations: 154.6 kB / 1.071 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.3775, allocations: 150.6 kB / 1.071 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.3776, allocations: 158.5 kB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.378, allocations: 0.5093 MB / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3781, allocations: 165.1 kB / 1.071 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.3782, allocations: 84.12 kB / 1.072 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3782, allocations: 83.28 kB / 1.072 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.3783, allocations: 113.7 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3783, allocations: 0 / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.000173/0.3785, allocations: 45.52 kB / 1.072 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.3785, allocations: 126.7 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.3789, allocations: 322.3 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3789, allocations: 29.7 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.379, allocations: 120.4 kB / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.379, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.3791, allocations: 57.69 kB / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3793, allocations: 330.8 kB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3794, allocations: 67.89 kB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3795, allocations: 118 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.3798, allocations: 213.8 kB / 1.073 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3798, allocations: 0 / 1.073 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004254/0.3802, allocations: 237.1 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3802, allocations: 4 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3803, allocations: 11.88 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3803, allocations: 0 / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-06/0.3803, allocations: 4.219 kB / 1.073 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3803, allocations: 4 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3804, allocations: 27.67 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3804, allocations: 4 kB / 1.073 GB, free: 5.496 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.0002632/0.3807, allocations: 229 kB / 1.074 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.3808, allocations: 128.7 kB / 1.074 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.3809, allocations: 113.9 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.585e-05/0.381, allocations: 184.2 kB / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.253e-05/0.3811, allocations: 180.3 kB / 1.074 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.019e-05/0.3812, allocations: 188.2 kB / 1.074 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3815, allocations: 445.2 kB / 1.075 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/0.3816, allocations: 105 kB / 1.075 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.3816, allocations: 116.9 kB / 1.075 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.66e-05/0.3817, allocations: 180.3 kB / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.3818, allocations: 180.2 kB / 1.075 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.219e-05/0.3819, allocations: 176.3 kB / 1.076 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.828e-05/0.382, allocations: 176.3 kB / 1.076 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3822, allocations: 327.6 kB / 1.076 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3823, allocations: 197.8 kB / 1.076 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3825, allocations: 180.2 kB / 1.076 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3826, allocations: 109 kB / 1.076 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.3827, allocations: 184.2 kB / 1.077 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.3828, allocations: 105.3 kB / 1.077 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002255/0.383, allocations: 217.9 kB / 1.077 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.383, allocations: 0 / 1.077 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004116/0.3834, allocations: 64 kB / 1.077 GB, free: 1.566 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.0003862/0.3838, allocations: 274.4 kB / 1.077 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.384, allocations: 99.83 kB / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.384, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.384, allocations: 4 kB / 1.077 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.3845, allocations: 463.3 kB / 1.078 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.3851, allocations: 438.8 kB / 1.078 GB, free: 280 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5341/0.9192, allocations: 0.7429 MB / 1.079 GB, free: 22.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.9193, allocations: 9.156 kB / 1.079 GB, free: 22.43 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/0.9193, allocations: 0.7188 kB / 1.079 GB, free: 22.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.005392/0.9247, allocations: 2.339 MB / 1.081 GB, free: 22.31 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches