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.001742/0.001742, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002252/0.002252, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.339/3.339, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",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.001956/0.001956, allocations: 62.67 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3563, allocations: 179 MB / 1.345 GB, free: 8 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003089/0.3594, allocations: 1.429 MB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003752/0.3632, allocations: 2.406 MB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.3632, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.3651, allocations: 0.5436 MB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.3652, allocations: 23.91 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.989e-06/0.3652, allocations: 3.938 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.3655, allocations: 162.9 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.425e-05/0.3655, allocations: 12.53 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3656, allocations: 63.72 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3658, allocations: 79.58 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3658, allocations: 0 / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3669, allocations: 415.5 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.367, allocations: 35.83 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3671, allocations: 75.5 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.3678, allocations: 442 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3678, allocations: 4 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3678, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3678, allocations: 0 / 1.351 GB, free: 10.32 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.0008545/0.3687, allocations: 488.8 kB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3687, allocations: 8.031 kB / 1.351 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.866e-05/0.3688, allocations: 83.41 kB / 1.351 GB, free: 9.715 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.3688, allocations: 106 kB / 1.351 GB, free: 9.602 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.369, allocations: 104 kB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3693, allocations: 252.5 kB / 1.352 GB, free: 9.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.3694, allocations: 158.9 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.3695, allocations: 154.9 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/0.3695, allocations: 105.3 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.3696, allocations: 75.28 kB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/0.3696, allocations: 150.6 kB / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/0.3697, allocations: 158.5 kB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3698, allocations: 154.6 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.3702, allocations: 0.5007 MB / 1.353 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3703, allocations: 173.1 kB / 1.353 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.3704, allocations: 84.19 kB / 1.353 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3704, allocations: 83.28 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.932e-05/0.3705, allocations: 113.7 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3705, allocations: 0 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001949/0.3707, allocations: 57.5 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.3707, allocations: 126.7 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.3712, allocations: 433.3 kB / 1.354 GB, free: 6.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3713, allocations: 25.7 kB / 1.354 GB, free: 6.605 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3714, allocations: 140.6 kB / 1.354 GB, free: 6.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.3714, allocations: 0 / 1.354 GB, free: 6.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.3715, allocations: 89.66 kB / 1.354 GB, free: 6.367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3716, allocations: 338.8 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3718, allocations: 108.5 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.372, allocations: 161.9 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.3723, allocations: 301.6 kB / 1.355 GB, free: 5.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3723, allocations: 0 / 1.355 GB, free: 5.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006255/0.373, allocations: 333 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.373, allocations: 11.94 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.373, allocations: 0 / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.373, allocations: 4 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.373, allocations: 0 / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.373, allocations: 4 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3732, allocations: 47.72 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3732, allocations: 8 kB / 1.356 GB, free: 5.023 MB / 1.045 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.0003271/0.3735, allocations: 245 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3737, allocations: 128.7 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.3737, allocations: 114.6 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-05/0.3738, allocations: 188.2 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.762e-05/0.3739, allocations: 176.3 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.427e-05/0.374, allocations: 184.2 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.3744, allocations: 440.2 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.064e-05/0.3744, allocations: 108.9 kB / 1.357 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.3745, allocations: 105 kB / 1.357 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.17e-05/0.3746, allocations: 188.4 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/0.3747, allocations: 184.2 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.469e-05/0.3748, allocations: 180.2 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.061e-05/0.3748, allocations: 192.2 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.375, allocations: 319.6 kB / 1.358 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3751, allocations: 136.7 kB / 1.358 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3753, allocations: 184.3 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3754, allocations: 104.9 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.3755, allocations: 180.3 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.3756, allocations: 105 kB / 1.359 GB, free: 1.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003306/0.3759, allocations: 279.1 kB / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3759, allocations: 0 / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004415/0.3763, allocations: 91.86 kB / 1.359 GB, free: 1.07 MB / 1.045 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.0008394/0.3772, allocations: 0.9488 MB / 1.36 GB, free: 96 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3774, allocations: 123.9 kB / 1.36 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3774, allocations: 0 / 1.36 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-06/0.3774, allocations: 3.938 kB / 1.36 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.3779, allocations: 465.7 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.3814, allocations: 2.941 MB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3816, allocations: 164.1 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.405e-05/0.3816, allocations: 256 / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.3816, allocations: 51.42 kB / 1.364 GB, free: 12.22 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3816, allocations: 4 kB / 1.364 GB, free: 12.22 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/0.4209, allocations: 6.666 MB / 1.37 GB, free: 5.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.3, allocations: 15.73 kB / 1.37 GB, free: 5.688 MB / 1.061 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.334602226037532]