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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 218.9 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.299/3.299, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 77.59 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3751, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002758/0.3778, allocations: 1.431 MB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.3804, allocations: 1.975 MB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.3805, allocations: 0 / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.3816, allocations: 381.9 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.3816, allocations: 27.78 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.164e-06/0.3816, allocations: 4 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3819, allocations: 123.2 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.3819, allocations: 5.688 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.382, allocations: 47.8 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.3821, allocations: 59.77 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3822, allocations: 0 / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.3826, allocations: 187.9 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.3827, allocations: 31.84 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.3828, allocations: 79.53 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.3833, allocations: 291 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3833, allocations: 4 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3833, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.3833, allocations: 0 / 1.357 GB, free: 3.828 MB / 1.045 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.0007177/0.384, allocations: 425.2 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.384, allocations: 8.031 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.3841, allocations: 106 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.3843, allocations: 100.1 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3845, allocations: 237.1 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.3845, allocations: 150.9 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.3846, allocations: 158.9 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.866e-05/0.3847, allocations: 112.9 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.3847, allocations: 79.22 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.3848, allocations: 150.6 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.634e-05/0.3849, allocations: 162.5 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.3849, allocations: 150.6 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.3853, allocations: 480.9 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.3854, allocations: 169.1 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.3855, allocations: 88.14 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.3855, allocations: 83.2 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.3855, allocations: 109.8 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3855, allocations: 0 / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001801/0.3857, allocations: 49.56 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.3858, allocations: 126.7 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.3862, allocations: 325.6 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3862, allocations: 29.7 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.3863, allocations: 116.5 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.3863, allocations: 0 / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.3863, allocations: 65.67 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3865, allocations: 326.8 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.3866, allocations: 63.95 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3867, allocations: 118 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.387, allocations: 209.8 kB / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.387, allocations: 0 / 1.361 GB, free: 15.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004474/0.3874, allocations: 249.2 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3875, allocations: 4.219 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3875, allocations: 4 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3875, allocations: 4 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.3875, allocations: 0 / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3875, allocations: 4 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3876, allocations: 27.73 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.3876, allocations: 4 kB / 1.362 GB, free: 15.18 MB / 1.061 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.0002438/0.3879, allocations: 229.6 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.3879, allocations: 124.8 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.388, allocations: 125.5 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.782e-05/0.3881, allocations: 176.3 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-05/0.3882, allocations: 176.3 kB / 1.362 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.3882, allocations: 180.2 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.3886, allocations: 428.2 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/0.3886, allocations: 108.9 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.3887, allocations: 109 kB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.283e-05/0.3887, allocations: 184.3 kB / 1.363 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.458e-05/0.3888, allocations: 180.2 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.867e-05/0.3889, allocations: 180.3 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-05/0.389, allocations: 192.1 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3892, allocations: 319.7 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.3892, allocations: 124.8 kB / 1.364 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.3893, allocations: 176.3 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3895, allocations: 108.9 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.3896, allocations: 188.3 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.3896, allocations: 101.3 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002185/0.3898, allocations: 221.1 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3898, allocations: 0 / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003476/0.3902, allocations: 63.88 kB / 1.365 GB, free: 11.36 MB / 1.061 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.0006693/0.3908, allocations: 0.9139 MB / 1.366 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.391, allocations: 88.02 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.391, allocations: 0 / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.391, allocations: 4 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3915, allocations: 466.1 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.3942, allocations: 2.445 MB / 1.369 GB, free: 7.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3946, allocations: 0.7429 MB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.3946, allocations: 0 / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.3947, allocations: 39.42 kB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3947, allocations: 4 kB / 1.37 GB, free: 6.484 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.4308, allocations: 4.949 MB / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.7, allocations: 5.906 kB / 1.375 GB, free: 1.672 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.602751329774037]