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.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.001397/0.001397, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001604/0.001604, allocations: 215 kB / 22.25 MB, free: 5.082 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.035 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.358/3.358, 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_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.002306/0.002306, allocations: 70.83 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4055, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003531/0.409, allocations: 1.438 MB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.413, allocations: 2.714 MB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.4131, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.4155, allocations: 0.5917 MB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.4155, allocations: 23.84 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.181e-06/0.4155, allocations: 4 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.4158, allocations: 162.9 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.4159, allocations: 16.53 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.4161, allocations: 67.66 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.4162, allocations: 75.59 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4162, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.4176, allocations: 479.3 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.4176, allocations: 35.78 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.4178, allocations: 95.41 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.4185, allocations: 438 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4185, allocations: 0 / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4185, allocations: 0 / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.4186, allocations: 4 kB / 1.359 GB, free: 2.371 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.0008543/0.4194, allocations: 492.7 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4195, allocations: 12.03 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.4195, allocations: 106 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.4197, allocations: 108 kB / 1.359 GB, free: 1.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.42, allocations: 248.5 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.4201, allocations: 154.9 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.4202, allocations: 158.9 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.588e-05/0.4202, allocations: 101.5 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.4203, allocations: 79.22 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.4203, allocations: 150.6 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.4204, allocations: 150.6 kB / 1.36 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.4205, allocations: 162.5 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.4209, allocations: 0.5085 MB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.421, allocations: 173.1 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.4211, allocations: 80.19 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.4211, allocations: 83.28 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.4212, allocations: 113.8 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.4212, allocations: 0 / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.000191/0.4214, allocations: 53.5 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.4215, allocations: 130.6 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.4219, allocations: 429.3 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4219, allocations: 37.64 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4221, allocations: 140.5 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.4221, allocations: 0 / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.4222, allocations: 89.67 kB / 1.362 GB, free: 14.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4223, allocations: 338.8 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4224, allocations: 96.59 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.4226, allocations: 173.8 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.423, allocations: 301.6 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.423, allocations: 0 / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005605/0.4235, allocations: 325.1 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4236, allocations: 11.92 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4236, allocations: 4 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4236, allocations: 224 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-06/0.4236, allocations: 11.94 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4236, allocations: 0 / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.4238, allocations: 47.52 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4238, allocations: 4 kB / 1.364 GB, free: 13.14 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.0002653/0.424, allocations: 237.7 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.4241, allocations: 132.7 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.4242, allocations: 118.9 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/0.4243, allocations: 180.3 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.8e-05/0.4244, allocations: 180.2 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.642e-05/0.4244, allocations: 180.3 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.4248, allocations: 448.2 kB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-05/0.4248, allocations: 105 kB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.4249, allocations: 105 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-05/0.425, allocations: 188.1 kB / 1.365 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/0.425, allocations: 180.2 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.559e-05/0.4251, allocations: 180.2 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-05/0.4252, allocations: 180.5 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.4254, allocations: 339.6 kB / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.4255, allocations: 120.8 kB / 1.366 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4256, allocations: 192.1 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.4257, allocations: 101 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.4258, allocations: 184.2 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.4259, allocations: 105 kB / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003003/0.4262, allocations: 283 kB / 1.367 GB, free: 9.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4262, allocations: 0 / 1.367 GB, free: 9.281 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004246/0.4266, allocations: 83.92 kB / 1.367 GB, free: 9.199 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.0007904/0.4274, allocations: 0.9634 MB / 1.368 GB, free: 8.211 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.4276, allocations: 119.9 kB / 1.368 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4276, allocations: 0 / 1.368 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.4276, allocations: 0 / 1.368 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.4281, allocations: 461.1 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.4313, allocations: 2.945 MB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.4318, allocations: 0.7782 MB / 1.372 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.4318, allocations: 0 / 1.372 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.4318, allocations: 51.42 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.4318, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.4679, allocations: 6.556 MB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.01, allocations: 9.672 kB / 1.379 GB, free: 13.29 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.035279997857288]