Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001293/0.001293, 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.001494/0.001494, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.281/3.281, allocations: 0.49 GB / 0.7951 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_12_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.002048/0.002048, allocations: 61.67 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003334/0.366, allocations: 1.449 MB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.3698, allocations: 2.705 MB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.3698, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.3714, allocations: 0.5862 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.3715, allocations: 27.84 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.3715, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3718, allocations: 158.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.3718, allocations: 16.53 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.3719, allocations: 59.73 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3721, allocations: 83.45 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3721, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.3732, allocations: 475.3 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.3732, allocations: 31.84 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3733, allocations: 107.4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.374, allocations: 434 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.374, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.374, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.374, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 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.0008566/0.3749, allocations: 492.7 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3749, allocations: 8.031 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.375, allocations: 106 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3752, allocations: 108 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3754, allocations: 248.5 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.3755, allocations: 158.9 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.3756, allocations: 150.9 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.3757, allocations: 109.5 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.3757, allocations: 79.22 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.3758, allocations: 158.5 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.3e-05/0.3759, allocations: 154.6 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.3759, allocations: 150.6 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.3763, allocations: 0.5007 MB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.3764, allocations: 177.1 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.3765, allocations: 84.19 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.3765, allocations: 79.28 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/0.3766, allocations: 105.8 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3766, allocations: 0 / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001928/0.3768, allocations: 57.45 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.3768, allocations: 126.7 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.3773, allocations: 441.3 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3773, allocations: 29.7 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.3774, allocations: 136.6 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.3774, allocations: 0 / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.3775, allocations: 89.66 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3777, allocations: 338.8 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3778, allocations: 100.6 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.378, allocations: 169.9 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3783, allocations: 305.6 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3783, allocations: 0 / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005101/0.3788, allocations: 325.1 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3789, allocations: 13.81 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3789, allocations: 224 / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3789, allocations: 11.98 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.3789, allocations: 0 / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3789, allocations: 7.938 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.379, allocations: 47.5 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.379, allocations: 4 kB / 1.337 GB, free: 6.609 MB / 1.029 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.000249/0.3793, allocations: 242.9 kB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.3794, allocations: 132.7 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.911e-05/0.3795, allocations: 126.8 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/0.3795, allocations: 176.3 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.921e-05/0.3796, allocations: 180.2 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-05/0.3797, allocations: 176.3 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.38, allocations: 444.2 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/0.3801, allocations: 116.9 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.3801, allocations: 105 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-05/0.3802, allocations: 184.1 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/0.3803, allocations: 176.3 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.142e-05/0.3804, allocations: 184.3 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.178e-05/0.3804, allocations: 184.4 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.3806, allocations: 335.6 kB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.3807, allocations: 124.8 kB / 1.339 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.3808, allocations: 188.2 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.381, allocations: 104.9 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.3811, allocations: 184.2 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.3811, allocations: 104.9 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003013/0.3814, allocations: 283.1 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3814, allocations: 0 / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004057/0.3818, allocations: 83.92 kB / 1.34 GB, free: 2.656 MB / 1.029 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.0007105/0.3825, allocations: 0.9567 MB / 1.341 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3827, allocations: 123.8 kB / 1.341 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3827, allocations: 0 / 1.341 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3827, allocations: 0 / 1.341 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.3832, allocations: 465.6 kB / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.3864, allocations: 2.933 MB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3869, allocations: 0.7782 MB / 1.345 GB, free: 13.23 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.3869, allocations: 7.938 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.3869, allocations: 51.42 kB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/0.3869, allocations: 0 / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.4205, allocations: 6.55 MB / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.98, allocations: 4.062 kB / 1.352 GB, free: 6.766 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.861380029004067]