Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000797/0.000797, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008374/0.0008374, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.487e-05, allocations: 17.11 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001725/0.00175, allocations: 1.419 MB / 0.9519 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.003772, allocations: 2.389 MB / 0.9542 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.0038, allocations: 0 / 0.9542 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00096/0.00476, allocations: 0.5553 MB / 0.9547 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.004794, allocations: 15.91 kB / 0.9548 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 3.848e-06/0.004798, allocations: 0 / 0.9548 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.004992, allocations: 170.8 kB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.005037, allocations: 8.594 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.824e-05/0.005115, allocations: 91.78 kB / 0.955 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.005221, allocations: 71.7 kB / 0.9551 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.005234, allocations: 0 / 0.9551 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.005765, allocations: 403.4 kB / 0.9555 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.005808, allocations: 31.84 kB / 0.9555 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.005865, allocations: 63.84 kB / 0.9556 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.006263, allocations: 454.1 kB / 0.956 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.006266, allocations: 7.938 kB / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.52e-07/0.006267, allocations: 0 / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.006271, allocations: 0 / 0.956 GB, free: 13.84 MB / 0.9167 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.000484/0.006755, allocations: 488.8 kB / 0.9565 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.006792, allocations: 12.03 kB / 0.9565 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.006831, allocations: 110 kB / 0.9566 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.006924, allocations: 104 kB / 0.9567 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.007085, allocations: 247.7 kB / 0.9569 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.007126, allocations: 154.9 kB / 0.9571 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.007162, allocations: 158.9 kB / 0.9572 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.21e-05/0.007214, allocations: 105.5 kB / 0.9573 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.007234, allocations: 79.47 kB / 0.9574 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.007271, allocations: 150.9 kB / 0.9575 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.007308, allocations: 154.7 kB / 0.9577 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.007344, allocations: 154.6 kB / 0.9578 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.00759, allocations: 0.5084 MB / 0.9583 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.007652, allocations: 169.1 kB / 0.9585 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.007676, allocations: 80.14 kB / 0.9586 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.007696, allocations: 75.28 kB / 0.9586 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.007726, allocations: 109.8 kB / 0.9587 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.007727, allocations: 0 / 0.9587 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/0.007838, allocations: 61.44 kB / 0.9588 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.007883, allocations: 138.6 kB / 0.9589 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.008175, allocations: 429.3 kB / 0.9593 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.008185, allocations: 25.7 kB / 0.9594 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.008242, allocations: 136.6 kB / 0.9595 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.008244, allocations: 0 / 0.9595 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.008475, allocations: 85.67 kB / 0.9596 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.008559, allocations: 342.8 kB / 0.9599 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.008638, allocations: 100.6 kB / 0.96 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.008743, allocations: 165.9 kB / 0.9602 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.008941, allocations: 305.6 kB / 0.9604 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.008943, allocations: 0 / 0.9604 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000335/0.009278, allocations: 333 kB / 0.9608 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.009292, allocations: 4 kB / 0.9608 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.009298, allocations: 8.219 kB / 0.9608 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.00931, allocations: 0 / 0.9608 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-06/0.009312, allocations: 7.938 kB / 0.9608 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.009318, allocations: 4 kB / 0.9608 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.0094, allocations: 43.52 kB / 0.9608 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.009407, allocations: 4 kB / 0.9608 GB, free: 8.629 MB / 0.9167 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.0001432/0.009551, allocations: 245 kB / 0.9611 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.009594, allocations: 124.7 kB / 0.9612 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.00963, allocations: 114.9 kB / 0.9613 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/0.009671, allocations: 188.2 kB / 0.9615 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.477e-05/0.009716, allocations: 188.3 kB / 0.9617 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/0.009752, allocations: 176.3 kB / 0.9618 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.009927, allocations: 448.2 kB / 0.9623 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.009949, allocations: 105 kB / 0.9624 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.009978, allocations: 108.9 kB / 0.9625 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-05/0.01002, allocations: 180.3 kB / 0.9626 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.01006, allocations: 180.3 kB / 0.9628 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.842e-05/0.0101, allocations: 180.2 kB / 0.963 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.894e-05/0.01014, allocations: 184.2 kB / 0.9631 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/0.01023, allocations: 323.6 kB / 0.9635 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.01028, allocations: 132.8 kB / 0.9636 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.01034, allocations: 188.2 kB / 0.9638 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.01041, allocations: 101 kB / 0.9639 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01045, allocations: 184.1 kB / 0.964 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.01047, allocations: 105 kB / 0.9641 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001681/0.01064, allocations: 279.1 kB / 0.9644 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01064, allocations: 0 / 0.9644 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002398/0.01088, allocations: 87.86 kB / 0.9645 GB, free: 4.695 MB / 0.9167 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.0004453/0.01133, allocations: 0.9642 MB / 0.9654 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01147, allocations: 128.2 kB / 0.9655 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01147, allocations: 0 / 0.9655 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.01147, allocations: 0 / 0.9655 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.01175, allocations: 473.1 kB / 0.966 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.014, allocations: 2.958 MB / 0.9689 GB, free: 32 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.01411, allocations: 172.3 kB / 0.9691 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 1.026e-05/0.01412, allocations: 0 / 0.9691 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.01417, allocations: 56.48 kB / 0.9691 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of SimCode: time 5.71e-07/0.01417, allocations: 0 / 0.9691 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.03563, allocations: 7.193 MB / 0.9761 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.215, allocations: 11.48 kB / 0.9761 GB, free: 8.754 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.305422683246434]