Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_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_latest_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_latest_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.001026/0.001026, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001354/0.001354, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.025/3.025, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 9.469 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3824, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001774/0.3843, allocations: 1.107 MB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3866, allocations: 1.75 MB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.3866, allocations: 0 / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3878, allocations: 348.8 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.3879, allocations: 15.91 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.926e-06/0.3879, allocations: 0 / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.3881, allocations: 131.2 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.3882, allocations: 21.5 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.3883, allocations: 43.81 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3884, allocations: 63.77 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3884, allocations: 0 / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.3889, allocations: 175.9 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.389, allocations: 31.84 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.3891, allocations: 57.64 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.3894, allocations: 207.5 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3894, allocations: 0 / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3894, allocations: 4 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.3894, allocations: 0 / 1.062 GB, free: 1.336 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.0007902/0.3902, allocations: 490.3 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3903, allocations: 12.03 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3905, allocations: 91.09 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.3908, allocations: 282.1 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/0.3909, allocations: 162.6 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.391, allocations: 154.5 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.3911, allocations: 105 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.3911, allocations: 75.28 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.3912, allocations: 150.6 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.172e-05/0.3913, allocations: 150.6 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.3914, allocations: 162.5 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.392, allocations: 0.5016 MB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3921, allocations: 169.1 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.3921, allocations: 80.14 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.3922, allocations: 83.23 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.693e-05/0.3923, allocations: 113.8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.3923, allocations: 7.875 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0002522/0.3926, allocations: 41.52 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.3927, allocations: 126.7 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.3931, allocations: 318.3 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3931, allocations: 25.7 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.3932, allocations: 120.4 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.3933, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.3933, allocations: 4 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3935, allocations: 334.8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.3936, allocations: 59.95 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3937, allocations: 125.9 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3939, allocations: 79.95 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3939, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004558/0.3943, allocations: 221.3 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3944, allocations: 11.95 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3944, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3944, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-06/0.3944, allocations: 7.938 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3944, allocations: 4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3946, allocations: 39.75 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3946, allocations: 3.984 kB / 1.066 GB, free: 12.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.3949, allocations: 225.4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.395, allocations: 124.7 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.3951, allocations: 109.8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.075e-05/0.3952, allocations: 184.3 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.471e-05/0.3953, allocations: 188.3 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.671e-05/0.3953, allocations: 176.3 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.3957, allocations: 453.1 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/0.3957, allocations: 105 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3958, allocations: 109 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.048e-05/0.3959, allocations: 184.2 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.914e-05/0.396, allocations: 176.3 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-05/0.3961, allocations: 188.2 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.748e-05/0.3962, allocations: 180.3 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.3963, allocations: 327.5 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3965, allocations: 189.9 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3966, allocations: 192.2 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3967, allocations: 101 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.3968, allocations: 184.2 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.3969, allocations: 101 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002119/0.3971, allocations: 217.9 kB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3971, allocations: 0 / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004394/0.3976, allocations: 67.92 kB / 1.07 GB, free: 8.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/0.3979, allocations: 270.2 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.3981, allocations: 107.9 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3982, allocations: 0 / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3982, allocations: 0 / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3986, allocations: 0.525 MB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.3993, allocations: 418 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3997, allocations: 0.7394 MB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.3997, allocations: 0 / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.3997, allocations: 11.44 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3997, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.005792/0.4055, allocations: 2.194 MB / 1.074 GB, free: 4.617 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches