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.001391/0.001391, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001582/0.001582, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.789 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.133/3.133, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] 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.002123/0.002123, allocations: 62.14 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002727/0.3232, allocations: 1.429 MB / 1.326 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.3267, allocations: 2.408 MB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.3267, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.3284, allocations: 0.5389 MB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.3285, allocations: 23.83 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.3285, allocations: 3.938 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3287, allocations: 155 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.3288, allocations: 16.53 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.3289, allocations: 59.72 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.329, allocations: 87.52 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3291, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009089/0.33, allocations: 403.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.33, allocations: 39.77 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3301, allocations: 83.55 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.3308, allocations: 434 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3308, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3308, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3308, allocations: 0 / 1.331 GB, free: 12.7 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.0008782/0.3317, allocations: 492.7 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3317, allocations: 8.031 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.3318, allocations: 110 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.332, allocations: 104 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.3322, allocations: 248.5 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.3323, allocations: 154.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.3324, allocations: 154.9 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.3325, allocations: 105.5 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.3325, allocations: 83.22 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.3326, allocations: 150.6 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-05/0.3326, allocations: 150.6 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.3327, allocations: 158.4 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3331, allocations: 0.5007 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.3332, allocations: 177.1 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.3333, allocations: 80.19 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.3333, allocations: 79.28 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.3334, allocations: 109.8 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3334, allocations: 0 / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001895/0.3336, allocations: 65.44 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3337, allocations: 126.7 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.3341, allocations: 433.3 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3342, allocations: 29.7 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.3343, allocations: 132.6 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3343, allocations: 4 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3344, allocations: 97.66 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3345, allocations: 334.8 kB / 1.334 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3347, allocations: 100.6 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.3349, allocations: 157.9 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.3352, allocations: 309.6 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3352, allocations: 0 / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005719/0.3358, allocations: 329.1 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3358, allocations: 7.938 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3358, allocations: 7.938 kB / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3358, allocations: 224 / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-06/0.3358, allocations: 8 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/0.3358, allocations: 3.938 kB / 1.335 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.336, allocations: 47.52 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.336, allocations: 11.98 kB / 1.335 GB, free: 7.469 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.0002547/0.3363, allocations: 237.1 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.3364, allocations: 132.7 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.3364, allocations: 114.8 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.3365, allocations: 180.2 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-05/0.3366, allocations: 184.2 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.619e-05/0.3367, allocations: 180.3 kB / 1.336 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.337, allocations: 440.2 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/0.337, allocations: 108.9 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.3371, allocations: 105 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-05/0.3372, allocations: 192.1 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.3373, allocations: 176.3 kB / 1.337 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.86e-05/0.3373, allocations: 180.3 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.467e-05/0.3374, allocations: 180.4 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3376, allocations: 339.6 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.3377, allocations: 124.8 kB / 1.338 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.3378, allocations: 184.2 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.338, allocations: 112.9 kB / 1.338 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.3381, allocations: 180.3 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.3381, allocations: 104.9 kB / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003212/0.3384, allocations: 279.1 kB / 1.339 GB, free: 3.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3384, allocations: 0 / 1.339 GB, free: 3.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004711/0.3389, allocations: 83.92 kB / 1.339 GB, free: 3.535 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.0008553/0.3398, allocations: 0.9606 MB / 1.34 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.34, allocations: 119.8 kB / 1.34 GB, free: 2.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.34, allocations: 4.438 kB / 1.34 GB, free: 2.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.34, allocations: 4 kB / 1.34 GB, free: 2.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.3405, allocations: 461.1 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.344, allocations: 2.932 MB / 1.343 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.3442, allocations: 172.1 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.3442, allocations: 8.125 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.3443, allocations: 51.42 kB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of SimCode: time 7.82e-07/0.3443, allocations: 3.938 kB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.3792, allocations: 7.031 MB / 1.351 GB, free: 7.789 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 0 / 1.351 GB, free: 7.789 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.50099716987461]